summaryrefslogtreecommitdiffhomepage
path: root/include
diff options
context:
space:
mode:
authorYukihiro "Matz" Matsumoto <[email protected]>2018-04-28 15:36:23 +0900
committerYukihiro "Matz" Matsumoto <[email protected]>2018-04-28 15:36:23 +0900
commit59c8fdd6511ec5bbbb36082ec7b8e62b20f93395 (patch)
treeb466e71378b14e21cfd7b977cdbd0326b44d0441 /include
parent0fee6e1ee98725e117e04b33440af395ea8e0491 (diff)
downloadmruby-59c8fdd6511ec5bbbb36082ec7b8e62b20f93395.tar.gz
mruby-59c8fdd6511ec5bbbb36082ec7b8e62b20f93395.zip
Update `OP_APOST` description; ref #4008
Diffstat (limited to 'include')
-rw-r--r--include/mruby/opcode.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/opcode.h b/include/mruby/opcode.h
index 9a5116275..a5e3af158 100644
--- a/include/mruby/opcode.h
+++ b/include/mruby/opcode.h
@@ -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)) */