[antlr-interest] Any tip...

Lloyd Dupont ld at galador.net
Tue Jul 10 08:21:04 PDT 2007


I got this error message:
ExpressionGrammar.g:270:1: The following token definitions are unreachable: MINUS,PLUS

I'm trying with the ANTLR Work interpreter on the command additive:
additive: multiple ((PLUS^ | MINUS^) multiple)* ;

with input like 1+2

and I get just the token one '1' followed by NoViableAltException

any idea of what could be the source of the problem?

I was recompiling regularly but the error just creeped in at an impromptu moment and I cannot remove it now .. :-(
I'm .. puzzled...
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20070711/59c5f127/attachment.html 


More information about the antlr-interest mailing list