[antlr-interest] parser cannot find symbol UP

Terence Parr parrt at cs.usfca.edu
Sat Jul 18 16:53:56 PDT 2009


tree grammar?
T
On Jul 17, 2009, at 8:41 AM, Benoit Fouletier wrote:

> 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
>
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address



More information about the antlr-interest mailing list