mirror of
https://github.com/mruby/mruby
synced 2026-06-08 16:11:16 +00:00
there may be expecting here-doc when we see terminating characters; fix #2780
This commit is contained in:
@@ -2108,6 +2108,7 @@ codegen(codegen_scope *s, node *tree, int val)
|
||||
if (val) {
|
||||
node *n = tree;
|
||||
|
||||
if (!n) break;
|
||||
codegen(s, n->car, VAL);
|
||||
n = n->cdr;
|
||||
while (n) {
|
||||
|
||||
Reference in New Issue
Block a user