coatl / rubylexer

RubyLexer is a hyper-correct lexer library for Ruby, written in Ruby.
http://rubyforge.org/projects/rubylexer/
GNU Lesser General Public License v2.1
14 stars 2 forks source link

incompatible with ruby_parser #5

Closed rdp closed 14 years ago

rdp commented 14 years ago

Mixing this with ruby_parser causes a (non intuitive) clash, like "got 5 variables, expected 0" or what not, as ruby_parser has its own RubyLexer class.

Possible work-around:

rename RubyLexer? move it to a sub namespace?

-r

coatl commented 14 years ago

!!!! ruby_parser should not have defined a class of that name. RubyLexer has been established as the name of my gem and class long before ruby_parser came into being.

This is a bug in ruby_parser. Please report it there.