[antlr-interest] warnWhenFollowAmbig with ANTLR3?
Johannes Luber
jaluber at gmx.de
Mon Mar 31 06:08:11 PDT 2008
Aurelian Melinte schrieb:
> Hello,
>
>
> A question that might have been answered, but I could not find the answer: version 2 used to support this option:
>
> options {warnWhenFollowAmbig = false;}
>
> Has this been replaced by something similar or is it just deprecated in version 3?
My guess is that you have to resolve ambiguities yourself via
backtracking, syntactic predicates and left-factoring. There is a
tutorial explaining the use of these techniques on the wiki. Ignoring
the ambiguity warning means that the first option is always chosen.
Johannes
More information about the antlr-interest
mailing list