diff options
author | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-05-08 15:46:34 -0300 |
---|---|---|
committer | Roberto Ierusalimschy <roberto@inf.puc-rio.br> | 2000-05-08 15:46:34 -0300 |
commit | 35a6ed283881f313152457f24cc6c677122d5058 (patch) | |
tree | fd318ddd1eb590367210759ac3f7ec581b82e146 | |
parent | cfe6ca819b7804d995dcf5ede53e2bd257a95446 (diff) | |
download | lua-github-35a6ed283881f313152457f24cc6c677122d5058.tar.gz |
detail (error message)
-rw-r--r-- | lparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ /* -** $Id: lparser.c,v 1.82 2000/04/12 18:57:19 roberto Exp roberto $ +** $Id: lparser.c,v 1.83 2000/04/27 17:39:56 roberto Exp roberto $ ** LL(1) Parser and code generator for Lua ** See Copyright Notice in lua.h */ @@ -933,7 +933,7 @@ static void forstat (LexState *ls, int line) { block(ls); luaK_patchlist(fs, prep, luaK_getlabel(fs)); luaK_patchlist(fs, luaK_code0(fs, OP_FORLOOP), blockinit); - check_END(ls, TK_WHILE, line); + check_END(ls, TK_FOR, line); leavebreak(fs, &bl); removelocalvars(ls, 3, fs->lastsetline); } |