seattlerb / ruby_parser

ruby_parser is a ruby parser written in pure ruby. It outputs s-expressions which can be manipulated and converted back to ruby via the ruby2ruby gem.
http://www.zenspider.com/projects/ruby_parser.html
476 stars 100 forks source link

Add comments to endless defn and defs #331

Closed mvz closed 2 years ago

mvz commented 2 years ago

Unlike regular defn and defs nodes, endless defn and defs nodes did not get comments attached. This change fixes that.

zenspider commented 2 years ago

Good catch! Done! Thanks!