From caf01b5bfa33617b7bb2c40292f74599f6030eba Mon Sep 17 00:00:00 2001 From: Roberto Ierusalimschy Date: Mon, 29 Jan 2001 11:14:49 -0200 Subject: better implementation for list "for" --- lcode.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'lcode.c') diff --git a/lcode.c b/lcode.c index 61b1f2ce..30a25a65 100644 --- a/lcode.c +++ b/lcode.c @@ -1,5 +1,5 @@ /* -** $Id: lcode.c,v 1.56 2001/01/15 16:13:24 roberto Exp roberto $ +** $Id: lcode.c,v 1.57 2001/01/19 13:20:30 roberto Exp roberto $ ** Code generator for Lua ** See Copyright Notice in lua.h */ @@ -698,8 +698,8 @@ const OpProperties luaK_opproperties[NUM_OPCODES] = { {iO, 0, 0}, /* OP_PUSHNILJMP */ {iS, 0, 0}, /* OP_FORPREP */ {iS, 0, 3}, /* OP_FORLOOP */ - {iS, 2, 0}, /* OP_LFORPREP */ - {iS, 0, 3}, /* OP_LFORLOOP */ + {iS, 3, 0}, /* OP_LFORPREP */ + {iS, 0, 4}, /* OP_LFORLOOP */ {iAB, VD, 0} /* OP_CLOSURE */ }; -- cgit v1.2.3-55-g6feb