eapache / starscope

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

ruby: fix parsing with invalid literal encoding #166

Closed eapache closed 7 years ago

eapache commented 7 years ago

Per https://github.com/whitequark/parser/issues/283 the upstream parser gem will blow up on these by default; suppress that diagnostic since the actual ruby syntax is probably still well-formed and we want the tokens (we don't really care about the contents of string literals).

Fixes #160.