[antlr-interest] related question: multiple grammars..

Martin Probst mail at martin-probst.com
Sat Mar 31 09:03:43 PDT 2007

> from the error message i jumped to the wrong conclusion!
> i have located the error and it's a trivial thing.  i happened
> to have a separate [weak] lexer rule that also matched
> an INT.  argh!

Another problem that would not have occurred if someone fixed the  
error message to include the token type, not only the text.  
Terence!! :-)

> i'm sorry to have bugged everyone about this.

By now I really think it's an ANTLR bug that the error message is  
that misleading.


More information about the antlr-interest mailing list