aboutsummaryrefslogtreecommitdiffstats
path: root/parse.y
diff options
context:
space:
mode:
authornobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-06 05:35:28 +0000
committernobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2007-07-06 05:35:28 +0000
commitc512a69a2df121215d20edf4e8b646c929d62987 (patch)
tree717420e9a5b66f3d81da1cf667b61e91be8a7791 /parse.y
parent56fe47de3a8e9ef2dff934dbdfc695d9817a102c (diff)
downloadruby-c512a69a2df121215d20edf4e8b646c929d62987.tar.gz
* parse.y (f_marg): wrap f_norm_arg assignment node with NODE_LIST.
[ruby-dev:31141] git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@12710 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 bddd5494c0..7724a24698 100644
--- a/parse.y
+++ b/parse.y
@@ -2995,7 +2995,7 @@ for_var : lhs
f_marg : f_norm_arg
{
/*%%%*/
- $$ = assignable($1, 0);
+ $$ = NEW_LIST(assignable($1, 0));
/*%
$$ = dispatch1(mlhs_paren, $1);
%*/