aboutsummaryrefslogtreecommitdiff
path: root/lopcodes.h
diff options
context:
space:
mode:
Diffstat (limited to 'lopcodes.h')
-rw-r--r--lopcodes.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/lopcodes.h b/lopcodes.h
index f7bded2c..f5c95151 100644
--- a/lopcodes.h
+++ b/lopcodes.h
@@ -340,7 +340,7 @@ OP_VARARG,/* A C R[A], R[A+1], ..., R[A+C-2] = vararg */
340 340
341OP_GETVARG, /* A B C R[A] := R[B][R[C]], R[B] is vararg parameter */ 341OP_GETVARG, /* A B C R[A] := R[B][R[C]], R[B] is vararg parameter */
342 342
343OP_ERRNNIL,/* A Bx raise error if R[A] ~= nil (K[Bx] is global name)*/ 343OP_ERRNNIL,/* A Bx raise error if R[A] ~= nil (K[Bx - 1] is global name)*/
344 344
345OP_VARARGPREP,/* (adjust vararg parameters) */ 345OP_VARARGPREP,/* (adjust vararg parameters) */
346 346
@@ -386,6 +386,9 @@ OP_EXTRAARG/* Ax extra (larger) argument for previous opcode */
386 power of 2) plus 1, or zero for size zero. If not k, the array size 386 power of 2) plus 1, or zero for size zero. If not k, the array size
387 is vC. Otherwise, the array size is EXTRAARG _ vC. 387 is vC. Otherwise, the array size is EXTRAARG _ vC.
388 388
389 (*) In OP_ERRNNIL, (Bx == 0) means index of global name doesn't
390 fit in Bx. (So, that name is not available for the instruction.)
391
389 (*) For comparisons, k specifies what condition the test should accept 392 (*) For comparisons, k specifies what condition the test should accept
390 (true or false). 393 (true or false).
391 394