diff options
| author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-09-05 11:00:27 -0300 |
|---|---|---|
| committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2003-09-05 11:00:27 -0300 |
| commit | 2a70107581378fd43a6d4382963d5f7c4d5a3c53 (patch) | |
| tree | 14768a2d6670b3d3bcf16c4894572ad44b556d60 | |
| parent | 7dae7899b1ecaa9855f9c971ca695fd41872ecda (diff) | |
| download | lua-2a70107581378fd43a6d4382963d5f7c4d5a3c53.tar.gz lua-2a70107581378fd43a6d4382963d5f7c4d5a3c53.tar.bz2 lua-2a70107581378fd43a6d4382963d5f7c4d5a3c53.zip | |
detail
| -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; |
