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

Matt Benson gudnabrsam at yahoo.com
Tue Feb 12 11:39:36 PST 2008


--- Jim Idle <jimi at temporal-wave.com> wrote:

> I strongly believe that using literal strings in the
> grammar is fraught 
> with difficulties for the beginner and advise
> against it.

[SNIP]

But... the examples say it's okay!  ;)

Seriously, Jim:  what's the likelihood of your (or
anyone's) being able to sum up the reason for this
fairly succinctly?  What is the #1 gotcha about using
literals vs. tokens that ANTLR3 beginners overlook?

br,
Matt



      ____________________________________________________________________________________
Be a better friend, newshound, and 
know-it-all with Yahoo! Mobile.  Try it now.  http://mobile.yahoo.com/;_ylt=Ahu06i62sR8HDtDypao8Wcj9tAcJ 



More information about the antlr-interest mailing list