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-35a6ed283881f313152457f24cc6c677122d5058.tar.gz lua-35a6ed283881f313152457f24cc6c677122d5058.tar.bz2 lua-35a6ed283881f313152457f24cc6c677122d5058.zip |
detail (error message)
-rw-r--r-- | lparser.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -1,5 +1,5 @@ | |||
1 | /* | 1 | /* |
2 | ** $Id: lparser.c,v 1.82 2000/04/12 18:57:19 roberto Exp roberto $ | 2 | ** $Id: lparser.c,v 1.83 2000/04/27 17:39:56 roberto Exp roberto $ |
3 | ** LL(1) Parser and code generator for Lua | 3 | ** LL(1) Parser and code generator for Lua |
4 | ** See Copyright Notice in lua.h | 4 | ** See Copyright Notice in lua.h |
5 | */ | 5 | */ |
@@ -933,7 +933,7 @@ static void forstat (LexState *ls, int line) { | |||
933 | block(ls); | 933 | block(ls); |
934 | luaK_patchlist(fs, prep, luaK_getlabel(fs)); | 934 | luaK_patchlist(fs, prep, luaK_getlabel(fs)); |
935 | luaK_patchlist(fs, luaK_code0(fs, OP_FORLOOP), blockinit); | 935 | luaK_patchlist(fs, luaK_code0(fs, OP_FORLOOP), blockinit); |
936 | check_END(ls, TK_WHILE, line); | 936 | check_END(ls, TK_FOR, line); |
937 | leavebreak(fs, &bl); | 937 | leavebreak(fs, &bl); |
938 | removelocalvars(ls, 3, fs->lastsetline); | 938 | removelocalvars(ls, 3, fs->lastsetline); |
939 | } | 939 | } |