This commit is contained in:
Roberto Ierusalimschy
2002-06-26 13:37:23 -03:00
parent 6de93e2932
commit 88607acc2c
5 changed files with 13 additions and 13 deletions

View File

@@ -1,5 +1,5 @@
/*
** $Id: lparser.c,v 1.187 2002/06/06 13:52:37 roberto Exp roberto $
** $Id: lparser.c,v 1.188 2002/06/06 17:29:53 roberto Exp roberto $
** Lua Parser
** See Copyright Notice in lua.h
*/
@@ -927,7 +927,7 @@ static void whilestat (LexState *ls, int line) {
fs->jpc = NO_JUMP;
sizeexp = fs->pc - expinit; /* size of expression code */
if (sizeexp > MAXEXPWHILE)
luaX_syntaxerror(ls, "while condition too complex");
luaX_syntaxerror(ls, "`while' condition too complex");
for (i = 0; i < sizeexp; i++) /* save `exp' code */
codeexp[i] = fs->f->code[expinit + i];
fs->pc = expinit; /* remove `exp' code */