diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-09-30 12:38:37 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-09-30 12:38:37 -0300 |
commit | 0ac3d07ea64ce4bcb8b935fb80fbb2b72d6b8f43 (patch) | |
tree | 2463af169272845741337a44f03afd476a600609 /lundump.c | |
parent | 5938212748636d21d6f4b372481ab3b6dd6c7538 (diff) | |
download | lua-0ac3d07ea64ce4bcb8b935fb80fbb2b72d6b8f43.tar.gz lua-0ac3d07ea64ce4bcb8b935fb80fbb2b72d6b8f43.tar.bz2 lua-0ac3d07ea64ce4bcb8b935fb80fbb2b72d6b8f43.zip |
first implementation of lexical environments
Diffstat (limited to 'lundump.c')
-rw-r--r-- | lundump.c | 3 |
1 files changed, 2 insertions, 1 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lundump.c,v 2.10 2009/04/30 17:42:21 roberto Exp roberto $ | 2 | ** $Id: lundump.c,v 2.11 2009/09/28 16:32:50 roberto Exp roberto $ |
3 | ** load precompiled Lua chunks | 3 | ** load precompiled Lua chunks |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -180,6 +180,7 @@ static Proto* LoadFunction(LoadState* S, TString* p) | |||
180 | f->numparams=LoadByte(S); | 180 | f->numparams=LoadByte(S); |
181 | f->is_vararg=LoadByte(S); | 181 | f->is_vararg=LoadByte(S); |
182 | f->maxstacksize=LoadByte(S); | 182 | f->maxstacksize=LoadByte(S); |
183 | f->envreg=LoadByte(S); | ||
183 | LoadCode(S,f); | 184 | LoadCode(S,f); |
184 | LoadConstants(S,f); | 185 | LoadConstants(S,f); |
185 | LoadUpvalues(S,f); | 186 | LoadUpvalues(S,f); |