summaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
authorRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-10-20 16:29:55 -0200
committerRoberto Ierusalimschy <roberto@inf.puc-rio.br>2014-10-20 16:29:55 -0200
commitb8d412aa07278b3c4ef6ebc58d4b72045dffea3a (patch)
tree5567c6b6073d31489ef5cac79d772b39317e2a87 /lopcodes.h
parent961760c9b687560308644d90981cb5758dd488fd (diff)
downloadlua-github-b8d412aa07278b3c4ef6ebc58d4b72045dffea3a.tar.gz
error in comment
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/lopcodes.h b/lopcodes.h
index 632dee64..564d536a 100644
--- 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++ */