summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-12 07:48:37 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2008-02-12 07:48:37 +0000
commit7d4defbe1b3b267695446adac950d726538ea621 (patch)
tree1865493d170ee1e0a46c04e58cca502904c9b57a /parse.y
parent126297de1572ca791074a0437f63ab83c4c0a014 (diff)
* parse.y (exc_list): splat literal array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y7
1 files changed, 7 insertions, 0 deletions
diff --git a/parse.y b/parse.y
index 15cde42474..c0ff1fad24 100644
--- a/parse.y
+++ b/parse.y
@@ -3547,6 +3547,13 @@ exc_list : arg_value
%*/
}
| mrhs
+ {
+ /*%%%*/
+ $$ = splat_array($1);
+ /*%
+ $$ = $1;
+ %*/
+ }
| none
;