rtags
rtags copied to clipboard
Fix 2 outstanding bugs
Fixes parse_full_constant_name to recurse into parse_full_constant_name again, instead of calling non-existent method parse_full_constant.
Fixes a bug in RubyLex (apparently standing for 12 years) where if you have '=end' as the last line of a file and the file has no final '\n', RubyLex loops forever.
Example: https://github.com/lsegal/yard/raw/0.7.4/benchmarks/generation.rb
I added another fix for an issue I ran into. This fix is from another fork of rtags: https://github.com/pbogdan/rtags/commit/3bbde0872af08f71f99cef5a02999f24b34eb5cf.