mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* 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
This commit is contained in:
parent
22179f8124
commit
3980699f54
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,8 @@
|
|||
Tue Oct 23 13:44:14 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* parse.y (call_args2): nd_head of NODE_BLOCK_PASS should be a list.
|
||||
[ruby-core:12850]
|
||||
|
||||
Tue Oct 23 10:42:51 2007 Nobuyoshi Nakada <nobu@ruby-lang.org>
|
||||
|
||||
* ruby.c (process_options): encoding set by command line option takes
|
||||
|
|
2
parse.y
2
parse.y
|
@ -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);
|
||||
%*/
|
||||
|
|
Loading…
Reference in a new issue