[antlr-interest] Debugging: how? (Why do I get MismatchedTokenException or UnwantedTokenException?) Unhelpful error messages.

Hendrik Maryns qwizv9b02 at sneakemail.com
Fri Oct 31 02:43:36 PDT 2008


John B. Brodie schreef:
>> If I feed it to formulaList, I get an UnwantedTokenException followed by
>> an EOF, which doesn’t make me any wiser at this point.
> 
> Yes. Confusing message. Which is just one of the reasons I do not use
> AntlrWorks.... (i assume you are using AntlrWroks? if so, maybe there is
> more useful information in the console window?)

I have been experimenting with it, but until now, I like AntlrIDE, the
Eclipse plugin better.  Mainly because it has elements instead of images
in the parse tree, and if you click on them, you see what they
correspond to.

H.
-- 
Hendrik Maryns
http://tcl.sfs.uni-tuebingen.de/~hendrik/
==================
Ask smart questions, get good answers:
http://www.catb.org/~esr/faqs/smart-questions.html

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 257 bytes
Desc: OpenPGP digital signature
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20081031/79721085/attachment.bin 


More information about the antlr-interest mailing list