[antlr-interest] Local backtracking

Johannes Luber jaluber at gmx.de
Fri Dec 14 10:43:52 PST 2007


Hi!

I'm wondering how one does determine which rules have to receive
"options {backtrack=true;}" so the warning regarding non-LL(*) vanishes.
Applying it to the marked rule alone doesn't work and making it global
because of one rule alone I can't give a predicate (because I believe it
would exclude valid token streams, too) seems too much.

Johannes


More information about the antlr-interest mailing list