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.113 2000/09/27 17:41:58 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 1.114 2000/09/29 12:42:13 roberto Exp roberto $ |
3 | ** LL(1) Parser and code generator for Lua | 3 | ** LL(1) Parser and code generator for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -337,7 +337,7 @@ static void close_func (LexState *ls) { | |||
337 | removelocalvars(ls, fs->nactloc); | 337 | removelocalvars(ls, fs->nactloc); |
338 | luaM_reallocvector(L, f->locvars, f->nlocvars, LocVar); | 338 | luaM_reallocvector(L, f->locvars, f->nlocvars, LocVar); |
339 | luaM_reallocvector(L, f->lineinfo, f->nlineinfo+1, int); | 339 | luaM_reallocvector(L, f->lineinfo, f->nlineinfo+1, int); |
340 | f->lineinfo[f->nlineinfo] = MAX_INT; /* end flag */ | 340 | f->lineinfo[f->nlineinfo++] = MAX_INT; /* end flag */ |
341 | luaF_protook(L, f, fs->pc); /* proto is ok now */ | 341 | luaF_protook(L, f, fs->pc); /* proto is ok now */ |
342 | ls->fs = fs->prev; | 342 | ls->fs = fs->prev; |
343 | LUA_ASSERT(fs->bl == NULL, "wrong list end"); | 343 | LUA_ASSERT(fs->bl == NULL, "wrong list end"); |