summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-12-15 17:13:29 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2010-12-15 17:13:29 -0200
commit4a83fe569cc91b45e16ab581c879d76c79a6af86 (patch)
tree81488c2d6c92d4cfe514aa7c52be9e44bd41b8b9
parentb83b6ba015d2fef9a73aa1b8e55c2d2233bd2812 (diff)
downloadlua-4a83fe569cc91b45e16ab581c879d76c79a6af86.tar.gz
lua-4a83fe569cc91b45e16ab581c879d76c79a6af86.tar.bz2
lua-4a83fe569cc91b45e16ab581c879d76c79a6af86.zip
comment
-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);