diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-12 07:48:37 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2008-02-12 07:48:37 +0000 |
commit | 7d4defbe1b3b267695446adac950d726538ea621 (patch) | |
tree | 1865493d170ee1e0a46c04e58cca502904c9b57a | |
parent | 126297de1572ca791074a0437f63ab83c4c0a014 (diff) | |
download | ruby-7d4defbe1b3b267695446adac950d726538ea621.tar.gz |
* parse.y (exc_list): splat literal array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
-rw-r--r-- | ChangeLog | 4 | ||||
-rw-r--r-- | parse.y | 7 |
2 files changed, 10 insertions, 1 deletions
@@ -1,7 +1,9 @@ -Tue Feb 12 16:18:47 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> +Tue Feb 12 16:48:10 2008 Nobuyoshi Nakada <nobu@ruby-lang.org> * parse.y (args, mrhs): flattens literal array splats. + * parse.y (exc_list): splat literal array. + Tue Feb 12 15:27:19 2008 NARUSE, Yui <naruse@ruby-lang.org> * bootstraptest/runner.rb, bootstraptest/test_method.rb, enc/depend, @@ -3547,6 +3547,13 @@ exc_list : arg_value %*/ } | mrhs + { + /*%%%*/ + $$ = splat_array($1); + /*% + $$ = $1; + %*/ + } | none ; |