Roberto Ierusalimschy 14 年之前
父節點
當前提交
4a83fe569c
共有 1 個文件被更改,包括 2 次插入2 次删除
  1. 2 2
      lparser.c

+ 2 - 2
lparser.c

@@ -1,5 +1,5 @@
 /*
 /*
-** $Id: lparser.c,v 2.91 2010/08/23 17:32:34 roberto Exp roberto $
+** $Id: lparser.c,v 2.92 2010/09/07 19:21:39 roberto Exp roberto $
 ** Lua Parser
 ** Lua Parser
 ** See Copyright Notice in lua.h
 ** See Copyright Notice in lua.h
 */
 */
@@ -596,7 +596,7 @@ static void constructor (LexState *ls, expdesc *t) {
   cc.t = t;
   cc.t = t;
   init_exp(t, VRELOCABLE, pc);
   init_exp(t, VRELOCABLE, pc);
   init_exp(&cc.v, VVOID, 0);  /* no value (yet) */
   init_exp(&cc.v, VVOID, 0);  /* no value (yet) */
-  luaK_exp2nextreg(ls->fs, t);  /* fix it at stack top (for gc) */
+  luaK_exp2nextreg(ls->fs, t);  /* fix it at stack top */
   checknext(ls, '{');
   checknext(ls, '{');
   do {
   do {
     lua_assert(cc.v.k == VVOID || cc.tostore > 0);
     lua_assert(cc.v.k == VVOID || cc.tostore > 0);