1
0
Fork 0
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:
nobu 2007-10-23 04:44:15 +00:00
parent 22179f8124
commit 3980699f54
2 changed files with 6 additions and 1 deletions

View file

@ -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

View file

@ -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);
%*/