commit ae76307847efa83df131fd9ad3180982131b8c72
parent 3d61c31e5ad099952b20a31424a725c767150ba8
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date: Tue, 14 Mar 2006 16:04:21 -0300
comment
Diffstat:
1 file changed, 3 insertions(+), 3 deletions(-)
diff --git a/lopcodes.h b/lopcodes.h
@@ -1,5 +1,5 @@
/*
-** $Id: lopcodes.h,v 1.123 2005/10/23 17:37:55 roberto Exp roberto $
+** $Id: lopcodes.h,v 1.124 2005/12/02 18:42:08 roberto Exp roberto $
** Opcodes for Lua virtual machine
** See Copyright Notice in lua.h
*/
@@ -197,8 +197,8 @@ OP_FORLOOP,/* A sBx R(A)+=R(A+2);
if R(A) <?= R(A+1) then { pc+=sBx; R(A+3)=R(A) }*/
OP_FORPREP,/* A sBx R(A)-=R(A+2); pc+=sBx */
-OP_TFORLOOP,/* A C R(A+3), ... ,R(A+3+C) := R(A)(R(A+1), R(A+2));
- if R(A+3) ~= nil then { pc++; R(A+2)=R(A+3); } */
+OP_TFORLOOP,/* A C R(A+3), ... ,R(A+2+C) := R(A)(R(A+1), R(A+2));
+ if R(A+3) ~= nil then R(A+2)=R(A+3) else pc++ */
OP_SETLIST,/* A B C R(A)[(C-1)*FPF+i] := R(A+i), 1 <= i <= B */
OP_CLOSE,/* A close all variables in the stack up to (>=) R(A)*/