[antlr-interest] MismatchedTokenException and how to find errors in ANTLRWorks

Gavin Lambert antlr at mirality.co.nz
Wed Feb 13 10:47:44 PST 2008


At 13:03 13/02/2008, shmuel siegel wrote:
 >In my testing, I have found that I need to define the literal
 >tokens before the corresponding regular expressions. Literals
 >seem to do this automatically.

If you define your literal tokens in the "tokens" block, it has 
the same effect.



More information about the antlr-interest mailing list