From f26cce0bba73a9f4d64390375c842657a44dbafd Mon Sep 17 00:00:00 2001 From: yui-knk Date: Fri, 17 Nov 2017 08:23:06 +0000 Subject: [PATCH] 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 --- parse.y | 1 - 1 file changed, 1 deletion(-) diff --git a/parse.y b/parse.y index 4b4c7dd4c0..b354552bcf 100644 --- a/parse.y +++ b/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;