diff options
author | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-19 05:18:18 +0000 |
---|---|---|
committer | shyouhei <shyouhei@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2018-01-19 05:18:18 +0000 |
commit | 00d0bef7140ae35c915206345bfe75ee5baf1203 (patch) | |
tree | f61902c6d6c40a577eb76a376466dbdc566553da /compile.c | |
parent | 12c0cc0172591b8c6aeb4d8ce4dd1d65792645aa (diff) |
there is no such thing like 0 in enum defined_type
introduce new enum for it.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@61946 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -4113,7 +4113,7 @@ static int defined_expr0(rb_iseq_t *iseq, LINK_ANCHOR *const ret, const NODE *const node, LABEL **lfinish, VALUE needstr) { - enum defined_type expr_type = 0; + enum defined_type expr_type = DEFINED_NOT_DEFINED; enum node_type type; switch (type = nd_type(node)) { |