mirror of
https://github.com/ruby/ruby.git
synced 2022-11-09 12:17:21 -05:00
* test/ripper/test_parser_events.rb: more tests.
git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@26047 b2dd03c8-39d4-4d8f-98ff-823fe69b080e
This commit is contained in:
parent
507f700dd4
commit
1963713205
5 changed files with 560 additions and 101 deletions
|
@ -179,7 +179,7 @@ class DummyParser < Ripper
|
|||
end
|
||||
|
||||
def on_assoclist_from_args(a)
|
||||
Node.new('assocs', *a.list)
|
||||
Node.new('assocs', *a)
|
||||
end
|
||||
|
||||
(Ripper::PARSER_EVENTS.map(&:to_s) - instance_methods(false).map {|n|n.to_s.sub(/^on_/, '')}).each do |event|
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue