summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-04 07:41:20 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2003-12-04 07:41:20 +0000
commit05f6ee218391b3311666ef700316027e11221440 (patch)
tree6b771ee221b1f4e5a4df8ce8f866c98a581f3dc0 /parse.y
parent8c9566435548bad6aadd5651e0694cec74e8af8a (diff)
* parse.y (exc_list): allow expanding list. [ruby-dev:22134]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@5109 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y6
1 files changed, 5 insertions, 1 deletions
diff --git a/parse.y b/parse.y
index a2c21aa25d..a8f70b92ed 100644
--- a/parse.y
+++ b/parse.y
@@ -1859,7 +1859,11 @@ opt_rescue : kRESCUE exc_list exc_var then
| none
;
-exc_list : args
+exc_list : arg_value
+ {
+ $$ = NEW_LIST($1);
+ }
+ | mrhs
| none
;