summaryrefslogtreecommitdiff
path: root/parse.y
diff options
context:
space:
mode:
authormatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-10-04 07:17:16 +0000
committermatz <matz@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2006-10-04 07:17:16 +0000
commitffedafffba2f713eba454a04948d7326b204b240 (patch)
treea33e22af574507682208fc2375db99bb7251b4ac /parse.y
parent004d00757ae5b73d998a659090c29efdb0472fe4 (diff)
* 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
Diffstat (limited to 'parse.y')
-rw-r--r--parse.y2
1 files changed, 1 insertions, 1 deletions
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);
%*/