aboutsummaryrefslogtreecommitdiffstats
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 db8115eee5..fda72e2801 100644
--- a/parse.y
+++ b/parse.y
@@ -5024,7 +5024,7 @@ local_id(id)
static void
top_local_init()
{
- local_push();
+ local_push(1);
lvtbl->cnt = ruby_scope->local_tbl?ruby_scope->local_tbl[0]:0;
if (lvtbl->cnt > 0) {
lvtbl->tbl = ALLOC_N(ID, lvtbl->cnt+3);