[antlr-interest] Syntactic Predicate gating and @init

Christian Schladetsch christian.schladetsch at gmail.com
Sat Apr 19 19:28:39 PDT 2008


Doh. Sorry, I just re-read what you posted and fixed my brain. I didn't know
about the pre-matching actions:

rule: { code(); } subules { morecode(); };

That is exactly what I needed and what my @init { if (BACKTRACKING == 0)
code(); } did.

Cheers,
Christian.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080420/d2869136/attachment.html 


More information about the antlr-interest mailing list