[antlr-interest] parser cannot find symbol UP

Benoit Fouletier benblo+ANTLR at gmail.com
Fri Jul 17 08:41:55 PDT 2009


I'm building an AST and introduced a ^() rule for the first time, got this
compile error:

*translatorParser.java:476: cannot find symbol
symbol  : variable UP
location: class translatorParser
                else if ( (LA5_1==UP) ) {
                                  ^
1 error*


Errr... whaaat? I thought UP and DOWN were builtin.I have
backtrack=true, dunno if that changes anything.

     Ben
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20090717/6e6fc7a7/attachment.html 


More information about the antlr-interest mailing list