mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* parse.y (exc_list): splat literal array.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@15445 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
126297de15
commit
7d4defbe1b
2 changed files with 10 additions and 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,
|
||||
|
|
7
parse.y
7
parse.y
|
@ -3547,6 +3547,13 @@ exc_list : arg_value
|
|||
%*/
|
||||
}
|
||||
| mrhs
|
||||
{
|
||||
/*%%%*/
|
||||
$$ = splat_array($1);
|
||||
/*%
|
||||
$$ = $1;
|
||||
%*/
|
||||
}
|
||||
| none
|
||||
;
|
||||
|
||||
|
|
Loading…
Reference in a new issue