aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--lparser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lparser.c b/lparser.c
index 27919b6a..0bf75126 100644
--- a/lparser.c
+++ b/lparser.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lparser.c,v 2.91 2010/08/23 17:32:34 roberto Exp roberto $ 2** $Id: lparser.c,v 2.92 2010/09/07 19:21:39 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*/
@@ -596,7 +596,7 @@ static void constructor (LexState *ls, expdesc *t) {
596 cc.t = t; 596 cc.t = t;
597 init_exp(t, VRELOCABLE, pc); 597 init_exp(t, VRELOCABLE, pc);
598 init_exp(&cc.v, VVOID, 0); /* no value (yet) */ 598 init_exp(&cc.v, VVOID, 0); /* no value (yet) */
599 luaK_exp2nextreg(ls->fs, t); /* fix it at stack top (for gc) */ 599 luaK_exp2nextreg(ls->fs, t); /* fix it at stack top */
600 checknext(ls, '{'); 600 checknext(ls, '{');
601 do { 601 do {
602 lua_assert(cc.v.k == VVOID || cc.tostore > 0); 602 lua_assert(cc.v.k == VVOID || cc.tostore > 0);