summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-12 12:04:53 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-12 12:04:53 +0000
commit55c4937048fe383432b23e9a36582c441bac5f12 (patch)
tree1762f2206afe7109d8ff741de474fc12e5e0bd1e /parse.y
parent2b72892ac0de9ff1d05f2b21ed85ef09aa41c57e (diff)
* parse.y (exc_list): should use mrhs if non array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15447 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index c0ff1fad24..3a769631d2 100644
--- a/parse.y
+++ b/parse.y
@@ -3549,7 +3549,7 @@ exc_list : arg_value
| mrhs
{
/*%%%*/
- $$ = splat_array($1);
+ if (!($$ = splat_array($1))) $$ = $1;
/*%
$$ = $1;
%*/