diff --git a/ChangeLog b/ChangeLog index 620b160815..ef58936c76 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Oct 4 15:46:32 2006 Yukihiro Matsumoto + + * parse.y (block_param): should interpret single parenthesized + left hand side expression. + Wed Oct 4 08:52:30 2006 Nobuyoshi Nakada * test/optparse/test_getopts.rb: changed the class name of test case diff --git a/parse.y b/parse.y index b3338f97a9..6d7e7c901c 100644 --- a/parse.y +++ b/parse.y @@ -2861,7 +2861,7 @@ block_param1 : bv_decl | tLPAREN block_param rparen { /*%%%*/ - $$ = $2; + $$ = NEW_MASGN(NEW_LIST($2), 0); /*% $$ = dispatch1(mlhs_paren, $2); %*/