summaryrefslogtreecommitdiffstats
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
commit79140152823eb1c98f04532c29ace6d4cd06ad6f (patch)
tree6b771ee221b1f4e5a4df8ce8f866c98a581f3dc0
parentb806c2c3f343ef7c041ebfabcde92f5aa42f11aa (diff)
downloadruby-79140152823eb1c98f04532c29ace6d4cd06ad6f.tar.gz
ruby-79140152823eb1c98f04532c29ace6d4cd06ad6f.tar.xz
ruby-79140152823eb1c98f04532c29ace6d4cd06ad6f.zip
* parse.y (exc_list): allow expanding list. [ruby-dev:22134]
git-svn-id: http://svn.ruby-lang.org/repos/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 cec27ae47..05e2f2645 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 a2c21aa25..a8f70b92e 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
;