store "functofind" in stack top, so doesn't need this field in

global state.
This commit is contained in:
Roberto Ierusalimschy
1997-11-28 14:56:05 -02:00
parent b42cc6a4d2
commit 03160920cf
2 changed files with 7 additions and 8 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lstate.h,v 1.3 1997/11/26 20:28:22 roberto Exp roberto $
** $Id: lstate.h,v 1.4 1997/11/27 15:59:25 roberto Exp roberto $
** Global State
** See Copyright Notice in lua.h
*/
@@ -51,7 +51,6 @@ typedef struct LState {
TObject errorim; /* error tag method */
struct C_Lua_Stack Cblocks[MAX_C_BLOCKS];
int numCblocks; /* number of nested Cblocks */
TObject *functofind; /* auxiliar */
GCnode rootproto; /* list of all prototypes */
GCnode rootcl; /* list of all closures */
GCnode roottable; /* list of all tables */