1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* 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
This commit is contained in:
matz 2008-08-25 10:06:12 +00:00
parent 6194a7eef1
commit cc3cbd2965
2 changed files with 7 additions and 0 deletions

View file

@ -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.

View file

@ -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;