diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-28 14:06:07 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-06-28 14:06:07 -0300 |
commit | b62228297372c7b24b6661ac1bdd7df2e8ece64e (patch) | |
tree | ef3b7b2138c736a6c8777471078d4c4b69590267 /lparser.c | |
parent | 7f867eb0b950a62787ccd7c744c784ccc28258fa (diff) | |
download | lua-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.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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 | ||