aboutsummaryrefslogtreecommitdiff
path: root/lparser.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-28 14:06:07 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2000-06-28 14:06:07 -0300
commitb62228297372c7b24b6661ac1bdd7df2e8ece64e (patch)
treeef3b7b2138c736a6c8777471078d4c4b69590267 /lparser.c
parent7f867eb0b950a62787ccd7c744c784ccc28258fa (diff)
downloadlua-b62228297372c7b24b6661ac1bdd7df2e8ece64e.tar.gz
lua-b62228297372c7b24b6661ac1bdd7df2e8ece64e.tar.bz2
lua-b62228297372c7b24b6661ac1bdd7df2e8ece64e.zip
local is valid only after adjust
Diffstat (limited to 'lparser.c')
-rw-r--r--lparser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lparser.c b/lparser.c
index 725ff0ed..315122fd 100644
--- a/lparser.c
+++ b/lparser.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lparser.c,v 1.98 2000/06/21 18:13:56 roberto Exp roberto $ 2** $Id: lparser.c,v 1.99 2000/06/26 19:28:31 roberto Exp roberto $
3** LL(1) Parser and code generator for Lua 3** LL(1) Parser and code generator for Lua
4** See Copyright Notice in lua.h 4** See Copyright Notice in lua.h
5*/ 5*/
@@ -936,8 +936,8 @@ static void localstat (LexState *ls) {
936 nexps = explist1(ls); 936 nexps = explist1(ls);
937 else 937 else
938 nexps = 0; 938 nexps = 0;
939 adjustlocalvars(ls, nvars);
940 adjust_mult_assign(ls, nvars, nexps); 939 adjust_mult_assign(ls, nvars, nexps);
940 adjustlocalvars(ls, nvars);
941} 941}
942 942
943 943