summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-20 10:21:23 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2002-03-20 10:21:23 +0000
commit59993515a42803267e592a9b6fa07d3313d0c3b3 (patch)
tree440292477d3c22578bdd59d77215b8d89fcc330b /parse.y
parent760878b4242ae20a7b10f7a8f49d3875e0201aad (diff)
too reverted.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@2230 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-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);