diff options
author | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-02 14:36:22 +0000 |
---|---|---|
committer | matz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2006-09-02 14:36:22 +0000 |
commit | cf4b4b4ed9283d87497b661fc1ac5172db6030c4 (patch) | |
tree | 3de0c26d6ca8959d5d17fc5bfe29ae864f4027a8 /parse.y | |
parent | 9e15823543b0fbfcdd0706fee9352b32fa355fd3 (diff) | |
download | ruby-cf4b4b4ed9283d87497b661fc1ac5172db6030c4.tar.gz ruby-cf4b4b4ed9283d87497b661fc1ac5172db6030c4.tar.xz ruby-cf4b4b4ed9283d87497b661fc1ac5172db6030c4.zip |
* eval.c (rb_eval): should handle when in else clause. a patch
from Eric Hodel <drbrain at segment7.net>. [ruby-core:08662]
* parse.y (primary): wrap with NODE_CASE. [ruby-core:08663]
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@10832 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2605,7 +2605,7 @@ primary : literal | keyword_case opt_terms case_body keyword_end { /*%%%*/ - $$ = $3; + $$ = NEW_CASE(0, $3); /*% $$ = dispatch2(case, Qnil, $3); %*/ |