aboutsummaryrefslogtreecommitdiff
path: root/lundump.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-09-30 12:38:37 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2009-09-30 12:38:37 -0300
commit0ac3d07ea64ce4bcb8b935fb80fbb2b72d6b8f43 (patch)
tree2463af169272845741337a44f03afd476a600609 /lundump.c
parent5938212748636d21d6f4b372481ab3b6dd6c7538 (diff)
downloadlua-0ac3d07ea64ce4bcb8b935fb80fbb2b72d6b8f43.tar.gz
lua-0ac3d07ea64ce4bcb8b935fb80fbb2b72d6b8f43.tar.bz2
lua-0ac3d07ea64ce4bcb8b935fb80fbb2b72d6b8f43.zip
first implementation of lexical environments
Diffstat (limited to 'lundump.c')
-rw-r--r--lundump.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/lundump.c b/lundump.c
index 4ee11ac6..753f9964 100644
--- a/lundump.c
+++ b/lundump.c
@@ -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);