diff options
Diffstat (limited to 'include')
| -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 8d62f007f..3388d171e 100644 --- a/include/mruby/ops.h +++ b/include/mruby/ops.h @@ -105,7 +105,7 @@ OPCODE(OCLASS, B) /* R(a) = ::Object */ OPCODE(CLASS, BB) /* R(a) = newclass(R(a),Syms(b),R(a+1)) */ OPCODE(MODULE, BB) /* R(a) = newmodule(R(a),Syms(b)) */ OPCODE(EXEC, BB) /* R(a) = blockexec(R(a),SEQ[b]) */ -OPCODE(DEF, BB) /* R(a).newmethod(Syms(b),R(a+1)) */ +OPCODE(DEF, BB) /* R(a).newmethod(Syms(b),R(a+1)); R(a) = Syms(b) */ OPCODE(ALIAS, BB) /* alias_method(target_class,Syms(a),Syms(b)) */ OPCODE(UNDEF, B) /* undef_method(target_class,Syms(a)) */ OPCODE(SCLASS, B) /* R(a) = R(a).singleton_class */ |
