summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y1
1 files changed, 1 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index 73828b083f7..c1e75b3fb14 100644
--- a/parse.y
+++ b/parse.y
@@ -2548,6 +2548,7 @@ yycompile(f, line)
rb_gc_force_recycle((VALUE)tmp);
}
if (n == 0) node = ruby_eval_tree;
+ else ruby_eval_tree_begin = 0;
return node;
}