eapache / starscope

Smart code search for Ruby, Go, and JavaScript
https://rubygems.org/gems/starscope
MIT License
266 stars 18 forks source link

Fix handling of __ENCODING__ in ruby #174

Closed eapache closed 5 years ago

eapache commented 5 years ago

It parses weirdly. This might be an upstream parser issue really, but we can handle it for now.

@Tikkoneus thanks for pointing this one out. Feel free to point out any other specific parse errors that should be fixed.