diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-17 14:33:38 -0200 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2009-11-17 14:33:38 -0200 |
commit | 35fa276099bba69c4def7304e53a8962b3ab00fc (patch) | |
tree | b023d5f43da9aa0622f6a6b9e9148226acf7d33a /ldo.c | |
parent | b51d76ce8dfeb1dd3cc3e69b32cf665ff32ff26e (diff) | |
download | lua-35fa276099bba69c4def7304e53a8962b3ab00fc.tar.gz lua-35fa276099bba69c4def7304e53a8962b3ab00fc.tar.bz2 lua-35fa276099bba69c4def7304e53a8962b3ab00fc.zip |
parser/scanner keep GC running
Diffstat (limited to 'ldo.c')
-rw-r--r-- | ldo.c | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: ldo.c,v 2.69 2009/10/11 20:02:19 roberto Exp roberto $ | 2 | ** $Id: ldo.c,v 2.70 2009/10/23 19:12:19 roberto Exp roberto $ |
3 | ** Stack and Call structure of Lua | 3 | ** Stack and Call structure of Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -573,7 +573,6 @@ static void f_parser (lua_State *L, void *ud) { | |||
573 | Closure *cl; | 573 | Closure *cl; |
574 | struct SParser *p = cast(struct SParser *, ud); | 574 | struct SParser *p = cast(struct SParser *, ud); |
575 | int c = luaZ_lookahead(p->z); | 575 | int c = luaZ_lookahead(p->z); |
576 | luaC_checkGC(L); | ||
577 | tf = (c == LUA_SIGNATURE[0]) | 576 | tf = (c == LUA_SIGNATURE[0]) |
578 | ? luaU_undump(L, p->z, &p->buff, p->name) | 577 | ? luaU_undump(L, p->z, &p->buff, p->name) |
579 | : luaY_parser(L, p->z, &p->buff, &p->varl, p->name); | 578 | : luaY_parser(L, p->z, &p->buff, &p->varl, p->name); |