lua

A copy of the Lua development repository
Log | Files | Refs | README

commit 4a83fe569cc91b45e16ab581c879d76c79a6af86
parent b83b6ba015d2fef9a73aa1b8e55c2d2233bd2812
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Wed, 15 Dec 2010 17:13:05 -0200

comment

Diffstat:
Mlparser.c | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lparser.c b/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 ** See Copyright Notice in lua.h */ @@ -596,7 +596,7 @@ static void constructor (LexState *ls, expdesc *t) { cc.t = t; init_exp(t, VRELOCABLE, pc); 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, '{'); do { lua_assert(cc.v.k == VVOID || cc.tostore > 0);