diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-22 01:12:02 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-12-22 01:12:02 +0000 |
commit | 6e0074d0ff7473ee6152d8cb68855a64b4928ad5 (patch) | |
tree | da928415eed97a771ec707f79db2d36539d87312 /iseq.c | |
parent | f2aa7f409aa2130888ceed21d128523e4392084a (diff) |
iseq.c (rb_insn_operand_intern): needs parenthesies
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61403 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'iseq.c')
-rw-r--r-- | iseq.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -1420,9 +1420,9 @@ rb_insn_operand_intern(const rb_iseq_t *iseq, ret = rb_str_new_cstr(type_str); } else if (insn == BIN(defined) && op_no == 0 && - (enum defined_type)op == DEFINED_FUNC ? (ret = rb_fstring_cstr("func"), 1) : - (enum defined_type)op == DEFINED_REF ? (ret = rb_fstring_cstr("ref"), 1) : - (ret = rb_iseq_defined_string((enum defined_type)op)) != 0) { + ((enum defined_type)op == DEFINED_FUNC ? (ret = rb_fstring_cstr("func"), 1) : + (enum defined_type)op == DEFINED_REF ? (ret = rb_fstring_cstr("ref"), 1) : + (ret = rb_iseq_defined_string((enum defined_type)op)) != 0)) { /* ok */ } else { |