mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
NODE_CALL is not passed to node_assign_gen
* parse.y (node_assign_gen): NODE_CALL is not passed to node_assign_gen. NODE_CALL is not assignable. Assignable method call (array set and attr set) is represented by NODE_ATTRASGN. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@60823 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
8a664f0c96
commit
f26cce0bba
1 changed files with 0 additions and 1 deletions
1
parse.y
1
parse.y
|
|
@ -10123,7 +10123,6 @@ node_assign_gen(struct parser_params *parser, NODE *lhs, NODE *rhs, const YYLTYP
|
|||
break;
|
||||
|
||||
case NODE_ATTRASGN:
|
||||
case NODE_CALL:
|
||||
lhs->nd_args = arg_append(lhs->nd_args, rhs, location);
|
||||
lhs->nd_loc = *location;
|
||||
break;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue