diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-25 10:06:12 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-08-25 10:06:12 +0000 |
commit | cc3cbd2965ce1c75bd0eace89eeb3c3fe8c90735 (patch) | |
tree | 1e49a2a524425c2624959021120494171724c0c7 /compile.c | |
parent | 6194a7eef1338df836b27608ee2eb989887cea39 (diff) | |
download | ruby-cc3cbd2965ce1c75bd0eace89eeb3c3fe8c90735.tar.gz |
* compile.c (defined_expr): should handle NODE_{AND,OR} as
"expression". [ruby-dev:35951]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@18834 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'compile.c')
-rw-r--r-- | compile.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -2334,6 +2334,8 @@ defined_expr(rb_iseq_t *iseq, LINK_ANCHOR *ret, case NODE_STR: case NODE_LIT: case NODE_ZARRAY: + case NODE_AND: + case NODE_OR: estr = "expression"; break; |