[antlr-interest] ANTLR error

Gavin Lambert antlr at mirality.co.nz
Sat Apr 5 15:39:22 PDT 2008


At 00:12 6/04/2008, mobi sux wrote:
 >I'm doing an exercise on antlr. An it works on different
 >computers, but when i try it on my computer it doesn't. So
 >i don't know what is wrong.

Well, clearly you've got an unexpected backslash character.  So 
we'd probably need to see the grammar you're trying to compile in 
order to help.

One other possibility, if it's really only failing on one 
computer: maybe the ANSI codepage (aka the "Language for 
Non-Unicode Programs" in the Languages control panel) is 
different, and confusing it?



More information about the antlr-interest mailing list