[antlr-interest] Failure on OpenJDK on Debian

Ola Bini ola.bini at gmail.com
Tue Mar 31 13:45:11 PDT 2009


Gavin Lambert wrote:
> At 02:44 1/04/2009, Ola Bini wrote:
> >I have a grammar that works well with several different Java 5 and
> >Java 6 environments on both Windows, Linux and MacOS X (including
> >SoyLatte).  But I've just got a bug report that it blows up on
> >OpenJDK build 1.6.0_0-b11, that can be installed in Debian.
> >Has anyone else seen this? The errors look like this:
> >
> >generate.antlr:
>
> Looks like your lexer rules are ambiguous (which probably isn't helped 
> by the fact that you're also using literals in your parser rules).  
> You should definitely consider correcting your rules so that the 
> ambiguity warnings go away; doing that should make the error go away 
> as well.
>
>
I don't have any ambiguity warnings on any other Java implementation.

Cheers

-- 
 Ola Bini (http://olabini.com) 
 Ioke creator (http://ioke.org)
 JRuby Core Developer (http://jruby.org)
 Developer, ThoughtWorks Studios (http://studios.thoughtworks.com)
 Practical JRuby on Rails (http://apress.com/book/view/9781590598818)

 "Yields falsehood when quined" yields falsehood when quined.




More information about the antlr-interest mailing list