diff options
author | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-23 04:44:15 +0000 |
---|---|---|
committer | nobu <nobu@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2007-10-23 04:44:15 +0000 |
commit | 3980699f546be11dc2387cf347cd777a0cd45338 (patch) | |
tree | 728db537603c6a228839e82dadd58914803b27f0 /parse.y | |
parent | 22179f812472a16792dce593c4e0baca30c3f6ff (diff) | |
download | ruby-3980699f546be11dc2387cf347cd777a0cd45338.tar.gz |
* parse.y (call_args2): nd_head of NODE_BLOCK_PASS should be a list.
[ruby-core:12850]
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@13758 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -2341,7 +2341,7 @@ call_args2 : arg_value ',' args opt_block_arg | arg_value ',' block_arg { /*%%%*/ - $$ = arg_blk_pass($1, $3); + $$ = arg_blk_pass(NEW_LIST($1), $3); /*% $$ = arg_add_block(arg_add(arg_new(), $1), $3); %*/ |