aboutsummaryrefslogtreecommitdiff
path: root/lparser.c
diff options
context:
space:
mode:
Diffstat (limited to 'lparser.c')
-rw-r--r--lparser.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/lparser.c b/lparser.c
index 7fd62f50..1831ea01 100644
--- a/lparser.c
+++ b/lparser.c
@@ -1,5 +1,5 @@
1/* 1/*
2** $Id: lparser.c,v 2.164 2017/08/14 18:33:14 roberto Exp roberto $ 2** $Id: lparser.c,v 2.165 2017/09/13 19:50:08 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*/
@@ -1373,7 +1373,7 @@ static void forbody (LexState *ls, int base, int line, int nvars, int isnum) {
1373 luaK_patchtohere(fs, prep); 1373 luaK_patchtohere(fs, prep);
1374 luaK_codeABC(fs, OP_TFORCALL, base, 0, nvars); 1374 luaK_codeABC(fs, OP_TFORCALL, base, 0, nvars);
1375 luaK_fixline(fs, line); 1375 luaK_fixline(fs, line);
1376 endfor = luaK_codeAsBx(fs, OP_TFORLOOP, base + 2, NO_JUMP); 1376 endfor = luaK_codeABx(fs, OP_TFORLOOP, base + 2, 0);
1377 } 1377 }
1378 fixforjump(fs, endfor, prep + 1, 1); 1378 fixforjump(fs, endfor, prep + 1, 1);
1379 luaK_fixline(fs, line); 1379 luaK_fixline(fs, line);