diff options
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | compile.c | 2 |
2 files changed, 7 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Mon Aug 25 19:05:27 2008 Yukihiro Matsumoto <matz@ruby-lang.org> + + * compile.c (defined_expr): should handle NODE_{AND,OR} as + "expression". [ruby-dev:35951] + Mon Aug 25 17:36:26 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * include/ruby/intern.h (rb_io_ungetbyte): added prototype. @@ -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; |