summaryrefslogtreecommitdiff
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
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
-rw-r--r--ChangeLog6
-rw-r--r--parse.y6
2 files changed, 10 insertions, 2 deletions
diff --git a/ChangeLog b/ChangeLog
index cec27ae47d..05e2f26456 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,7 @@
+Thu Dec 4 16:41:17 2003 Nobuyoshi Nakada <nobu@ruby-lang.org>
+
+ * parse.y (exc_list): allow expanding list. [ruby-dev:22134]
+
Thu Dec 4 14:09:24 2003 Minero Aoki <aamine@loveruby.net>
* test/fileutils/test_fileutils.rb (test_cp): test if the error is
@@ -16,7 +20,7 @@ Thu Dec 4 13:17:45 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
Thu Dec 4 13:04:44 2003 NAKAMURA, Hiroshi <nahi@ruby-lang.org>
* lib/soap/soap.rb: add SOAP::Env module for environment repository
- such as HTTP_PROXY.
+ such as HTTP_PROXY.
* lib/soap/property.rb: property implementation.
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
;