Update `OP_APOST` description; ref #4008

parent 0fee6e1e
......@@ -120,7 +120,7 @@ enum {
OP_ARYPUSH,/* A B ary_push(R(A),R(B)) */
OP_AREF,/* A B C R(A) := R(B)[C] */
OP_ASET,/* A B C R(B)[C] := R(A) */
OP_APOST,/* A B C *R(A),R(A+1)..R(A+C) := R(A) */
OP_APOST,/* A B C *R(A),R(A+1)..R(A+C) := R(A)[B..] */
OP_STRING,/* A Bx R(A) := str_dup(Lit(Bx)) */
OP_STRCAT,/* A B str_cat(R(A),R(B)) */
......
......@@ -2706,7 +2706,7 @@ RETRY_TRY_BLOCK:
}
CASE(OP_APOST) {
/* A B C *R(A),R(A+1)..R(A+C) := R(A) */
/* A B C *R(A),R(A+1)..R(A+C) := R(A)[B..] */
int a = GETARG_A(i);
mrb_value v = regs[a];
int pre = GETARG_B(i);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment