diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-12 12:04:53 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-12 12:04:53 +0000 |
commit | 84a5f020ced8df5b2778b4172064c99da00b89f7 (patch) | |
tree | 1762f2206afe7109d8ff741de474fc12e5e0bd1e /parse.y | |
parent | bd2c5f691d035e781431362571083067945afe86 (diff) | |
download | ruby-84a5f020ced8df5b2778b4172064c99da00b89f7.tar.gz ruby-84a5f020ced8df5b2778b4172064c99da00b89f7.tar.xz ruby-84a5f020ced8df5b2778b4172064c99da00b89f7.zip |
* parse.y (exc_list): should use mrhs if non array.
git-svn-id: http://svn.ruby-lang.org/repos/ruby/trunk@15447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -3549,7 +3549,7 @@ exc_list : arg_value | mrhs { /*%%%*/ - $$ = splat_array($1); + if (!($$ = splat_array($1))) $$ = $1; /*% $$ = $1; %*/ |