1
0
Fork 0
mirror of https://github.com/ruby/ruby.git synced 2022-11-09 12:17:21 -05:00

* parse.y (block_param): should interpret single parenthesized

left hand side expression.


git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@11079 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
matz 2006-10-04 07:17:16 +00:00
parent 004d00757a
commit ffedafffba
2 changed files with 6 additions and 1 deletions

View file

@ -1,3 +1,8 @@
Wed Oct 4 15:46:32 2006 Yukihiro Matsumoto <matz@ruby-lang.org>
* parse.y (block_param): should interpret single parenthesized
left hand side expression.
Wed Oct 4 08:52:30 2006 Nobuyoshi Nakada <nobu@ruby-lang.org> Wed Oct 4 08:52:30 2006 Nobuyoshi Nakada <nobu@ruby-lang.org>
* test/optparse/test_getopts.rb: changed the class name of test case * test/optparse/test_getopts.rb: changed the class name of test case

View file

@ -2861,7 +2861,7 @@ block_param1 : bv_decl
| tLPAREN block_param rparen | tLPAREN block_param rparen
{ {
/*%%%*/ /*%%%*/
$$ = $2; $$ = NEW_MASGN(NEW_LIST($2), 0);
/*% /*%
$$ = dispatch1(mlhs_paren, $2); $$ = dispatch1(mlhs_paren, $2);
%*/ %*/