diff options
-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.216 2003/08/25 19:51:54 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 1.217 2003/08/27 21:01:44 roberto Exp roberto $ |
3 | ** Lua Parser | 3 | ** Lua Parser |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -320,7 +320,7 @@ static void pushclosure (LexState *ls, FuncState *func, expdesc *v) { | |||
320 | 320 | ||
321 | static void open_func (LexState *ls, FuncState *fs) { | 321 | static void open_func (LexState *ls, FuncState *fs) { |
322 | lua_State *L = ls->L; | 322 | lua_State *L = ls->L; |
323 | Proto *f = luaF_newproto(ls->L); | 323 | Proto *f = luaF_newproto(L); |
324 | fs->f = f; | 324 | fs->f = f; |
325 | fs->prev = ls->fs; /* linked list of funcstates */ | 325 | fs->prev = ls->fs; /* linked list of funcstates */ |
326 | fs->ls = ls; | 326 | fs->ls = ls; |