parse.y (arg_append): support NODE_ARGSCAT case
Because of the lack of this case, [*ary,1,2,3,4,5,6] was parsed into an inefficient AST like ary + [1,2] + [3,4] + [5,6].
[*ary,1,2,3,4,5,6]
ary + [1,2] + [3,4] + [5,6]
A patch from Anmol Chopra anmolchopra@rocketbox.in. Fixes [Bug #15018].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
parse.y (arg_append): support NODE_ARGSCAT case
Because of the lack of this case,
[*ary,1,2,3,4,5,6]was parsed intoan inefficient AST like
ary + [1,2] + [3,4] + [5,6].A patch from Anmol Chopra anmolchopra@rocketbox.in.
Fixes [Bug #15018].
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@64510 b2dd03c8-39d4-4d8f-98ff-823fe69b080e