[antlr-interest] ANTLR generating invalid Java

Jim Idle jimi at temporal-wave.com
Thu Aug 7 14:58:27 PDT 2008


On Thu, 2008-08-07 at 13:11 -0700, Terence Parr wrote:

> TheProblem is that predicates can be hoisted out of their original  
> rule...  If you put a {} blank action in front of the predicate, it  
> will not be hoistd.



You can also use scopes rather than rule parameters. Scopes are globally aaviable to the parser.

Jim
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080807/cf0541bd/attachment.html 


More information about the antlr-interest mailing list