[antlr-interest] AntlrWorks+Idea Question

Terence Parr parrt at cs.usfca.edu
Fri Apr 20 08:31:36 PDT 2007


On Apr 20, 2007, at 8:17 AM, Thomas Jackson III wrote:

> This may have been covered before but I can’t seem to find it so I  
> apologize if it has.
>
>
>
> I am using AntlrWork 1.0b10 inside IntelliJ 5.1.2 and am getting a  
> compile error after generating the code.  It keeps telling me  
> ruleNestingLevel is undefined.  I have generated it from outside of  
> IDEA from just AntlrWorks itself and the code for the  
> ruleNestingLevel is not there (which is probably why it worked in  
> Eclipse for me).
Hi. Make sure to regenerate all lexers, which no longer should ref  
that rule nesting thing.  It works on all my tests etc..., but, that  
said, when I tried to rebuild the mantra language example yesterday i  
got similar issues...can you try antlr from command line?  Try to  
reduce to a simple grammar and send to me if it still fails.
thanks!
Ter


More information about the antlr-interest mailing list