diff options
author | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-17 08:23:06 +0000 |
---|---|---|
committer | yui-knk <yui-knk@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2017-11-17 08:23:06 +0000 |
commit | f26cce0bba73a9f4d64390375c842657a44dbafd (patch) | |
tree | de6d98a80f5f53979523ce70387b17a19f1dcb5d /parse.y | |
parent | 8a664f0c9626b3bf57615021b3a549f5b68534ab (diff) | |
download | ruby-f26cce0bba73a9f4d64390375c842657a44dbafd.tar.gz |
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
Diffstat (limited to 'parse.y')
-rw-r--r-- | parse.y | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -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; |