[antlr-interest] Tree output syntax

Gavin Lambert antlr at mirality.co.nz
Thu Apr 5 12:40:37 PDT 2007


At 05:35 6/04/2007, Jim Idle wrote:
 >So, I suspect that you have to do a 'binary chop' through the
 >grammar, commenting out one rule after another until you work
 >out what it is actually complaining about.

That's my point though -- if I remove the ^ characters from that 
snippet I posted then the error stops happening.

It seems happy with the ^s if I use them on a rule with exactly 
one alt, and the ^ is not within a sub-block.  Putting them 
anywhere else leads to this.



More information about the antlr-interest mailing list