summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index c3bb0210fd4..c2dfd841c14 100644
--- a/parse.y
+++ b/parse.y
@@ -1234,7 +1234,7 @@ top_stmt : stmt
{
/*%%%*/
ruby_eval_tree_begin = block_append(ruby_eval_tree_begin,
- $4, &@$);
+ new_begin($4, &@$), &@$);
/* NEW_PREEXE($4)); */
/* local_pop(); */
$$ = new_begin(0, &@$);