commit f1fd9b5c2c21f24d25d7813f431a3495702ebea6
parent 3723d790ae941dbbdb7f97484f9f2512264c54a6
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Thu, 24 Aug 2000 11:19:17 -0300
intermediate version (only to avoid compiler errors)
Diffstat:
1 file changed, 1 insertion(+), 11 deletions(-)
diff --git a/lundump.c b/lundump.c
@@ -1,5 +1,5 @@
/*
-** $Id: lundump.c,v 1.23 2000/06/26 19:28:31 roberto Exp roberto $
+** $Id: lundump.c,v 1.24 2000/08/09 19:16:57 roberto Exp roberto $
** load bytecodes from files
** See Copyright Notice in lua.h
*/
@@ -131,16 +131,6 @@ static void LoadCode (lua_State* L, Proto* tf, ZIO* Z)
static void LoadLocals (lua_State* L, Proto* tf, ZIO* Z)
{
- int i,n=LoadInt(L,Z,"too many locals");
- if (n==0) return;
- tf->locvars=luaM_newvector(L,n+1,LocVar);
- for (i=0; i<n; i++)
- {
- tf->locvars[i].pc=LoadInt(L,Z,"too many lines");
- tf->locvars[i].varname=LoadString(L,Z);
- }
- tf->locvars[i].pc=-1; /* flag end of vector */
- tf->locvars[i].varname=NULL;
}
static Proto* LoadFunction (lua_State* L, ZIO* Z, int native);