lua

A copy of the Lua development repository
Log | Files | Refs | README

commit b8d412aa07278b3c4ef6ebc58d4b72045dffea3a
parent 961760c9b687560308644d90981cb5758dd488fd
Author: Roberto Ierusalimschy <roberto@inf.puc-rio.br>
Date:   Mon, 20 Oct 2014 16:29:30 -0200

error in comment

Diffstat:
Mlopcodes.h | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/lopcodes.h b/lopcodes.h @@ -1,5 +1,5 @@ /* -** $Id: lopcodes.h,v 1.145 2013/12/18 14:12:03 roberto Exp roberto $ +** $Id: lopcodes.h,v 1.146 2013/12/30 20:47:58 roberto Exp roberto $ ** Opcodes for Lua virtual machine ** See Copyright Notice in lua.h */ @@ -203,7 +203,7 @@ OP_LEN,/* A B R(A) := length of R(B) */ OP_CONCAT,/* A B C R(A) := R(B).. ... ..R(C) */ -OP_JMP,/* A sBx pc+=sBx; if (A) close all upvalues >= R(A) + 1 */ +OP_JMP,/* A sBx pc+=sBx; if (A) close all upvalues >= R(A - 1) */ OP_EQ,/* A B C if ((RK(B) == RK(C)) ~= A) then pc++ */ OP_LT,/* A B C if ((RK(B) < RK(C)) ~= A) then pc++ */ OP_LE,/* A B C if ((RK(B) <= RK(C)) ~= A) then pc++ */