From 59c8fdd6511ec5bbbb36082ec7b8e62b20f93395 Mon Sep 17 00:00:00 2001 From: "Yukihiro \"Matz\" Matsumoto" Date: Sat, 28 Apr 2018 15:36:23 +0900 Subject: Update `OP_APOST` description; ref #4008 --- include/mruby/opcode.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include') 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)) */ -- cgit v1.2.3