diff options
| author | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-01-07 17:34:19 +0900 |
|---|---|---|
| committer | Yukihiro "Matz" Matsumoto <[email protected]> | 2019-01-08 21:43:04 +0900 |
| commit | d38a8e8807578e1091d94b8087d26f8d9783a2e6 (patch) | |
| tree | 3f57a84a02ef6c853affa818ae534862c4dd6a69 | |
| parent | 712a8bb1b2afd48a695933a671c118f9dfa372a4 (diff) | |
| download | mruby-d38a8e8807578e1091d94b8087d26f8d9783a2e6.tar.gz mruby-d38a8e8807578e1091d94b8087d26f8d9783a2e6.zip | |
Update `OP_APOST` description (typo fixed).
| -rw-r--r-- | include/mruby/ops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/include/mruby/ops.h b/include/mruby/ops.h index 7531a5ee2..d64594625 100644 --- a/include/mruby/ops.h +++ b/include/mruby/ops.h @@ -88,7 +88,7 @@ OPCODE(ARYPUSH, B) /* ary_push(R(a),R(a+1)) */ OPCODE(ARYDUP, B) /* R(a) = ary_dup(R(a)) */ OPCODE(AREF, BBB) /* R(a) = R(b)[c] */ OPCODE(ASET, BBB) /* R(a)[c] = R(b) */ -OPCODE(APOST, BBB) /* *R(a),R(a+1)..R(a+C) = R(a)[b..] */ +OPCODE(APOST, BBB) /* *R(a),R(a+1)..R(a+c) = R(a)[b..] */ OPCODE(INTERN, B) /* R(a) = intern(R(a)) */ OPCODE(STRING, BB) /* R(a) = str_dup(Lit(b)) */ OPCODE(STRCAT, B) /* str_cat(R(a),R(a+1)) */ |
