[antlr-interest] compile error from ANTLR generated Parser.java with AST's

Carter Cheng carter_cheng at yahoo.com
Tue Feb 19 11:30:23 PST 2008


Hello everyone,

I was wondering if I could get some help diagnosing an
error which I dont quite understand. I attempted to
generate a grammar file using both the most current
beta and ANTLR 3.0.1 and I am getting the following
error-

Thanks in advance,

Carter.

LPCParser.java:10381: cannot find symbol
symbol  : variable UP
location: class LPCParser
                    else if (
(LA70_0==EOF||LA70_0==UP||LA70_0==Identifier||(LA70_0>=74
&& LA70_0<=76)||LA70_0==78||LA70_0==80||(LA70_0>=83 &&
LA70_0<=85)||(LA70_0>=98 && LA70_0<=99)||(LA70_0>=101
&& LA70_0<=129)||(LA70_0>=132 && LA70_0<=134)) ) {
                                                    ^
LPCParser.java:10747: cannot find symbol
symbol  : variable UP
location: class LPCParser
                else if (
(LA79_2==EOF||LA79_2==UP||LA79_2==Identifier||(LA79_2>=74
&& LA79_2<=76)||LA79_2==78||LA79_2==80||(LA79_2>=83 &&
LA79_2<=85)||(LA79_2>=98 && LA79_2<=99)||(LA79_2>=101
&& LA79_2<=129)||(LA79_2>=132 && LA79_2<=134)) ) {





      ____________________________________________________________________________________
Never miss a thing.  Make Yahoo your home page. 
http://www.yahoo.com/r/hs


More information about the antlr-interest mailing list