diff options
author | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-03-14 06:43:50 +0000 |
---|---|---|
committer | mame <mame@b2dd03c8-39d4-4d8f-98ff-823fe69b080e> | 2019-03-14 06:43:50 +0000 |
commit | 4c41dc8945d167bc63932325e11f227b4ec102dd (patch) | |
tree | e3077b10b9dc4d2d0a3c9ff2d971bb7402fff132 /test/ripper | |
parent | 9c077bbed94307d67c82a6e805dd6cc486433df2 (diff) | |
download | ruby-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