aboutsummaryrefslogtreecommitdiff
path: root/lparser.c
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-09-05 11:00:27 -0300
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2003-09-05 11:00:27 -0300
commit2a70107581378fd43a6d4382963d5f7c4d5a3c53 (patch)
tree14768a2d6670b3d3bcf16c4894572ad44b556d60 /lparser.c
parent7dae7899b1ecaa9855f9c971ca695fd41872ecda (diff)
downloadlua-2a70107581378fd43a6d4382963d5f7c4d5a3c53.tar.gz
lua-2a70107581378fd43a6d4382963d5f7c4d5a3c53.tar.bz2
lua-2a70107581378fd43a6d4382963d5f7c4d5a3c53.zip
detail
Diffstat (limited to 'lparser.c')
-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;