aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lparser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lparser.c b/lparser.c
index 633a5693..c551047a 100644
--- a/lparser.c
+++ b/lparser.c
@@ -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
321static void open_func (LexState *ls, FuncState *fs) { 321static 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;