aboutsummaryrefslogtreecommitdiffstats
path: root/test/ripper
diff options
context:
space:
mode:
authormame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-03-14 06:43:50 +0000
committermame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2019-03-14 06:43:50 +0000
commit4c41dc8945d167bc63932325e11f227b4ec102dd (patch)
treee3077b10b9dc4d2d0a3c9ff2d971bb7402fff132 /test/ripper
parent9c077bbed94307d67c82a6e805dd6cc486433df2 (diff)
downloadruby-4c41dc8945d167bc63932325e11f227b4ec102dd.tar.gz
compile.c: factor out "compile_args" from "compile_array"
compile_array function had three usages: array literal, hash literal, and method arguments. I think the third is completely different than the first and second. For example, method arguments and popped are meaningless; keywords_ptr and flag parameter for array/hash literal is also unused. This change refactors them: a function "compile_args" is created for the third, and removes no longer used parameters of "compile_array". git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@67252 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
Diffstat (limited to 'test/ripper')
0 files changed, 0 insertions, 0 deletions