[antlr-interest] Mask shift-reduce warning?

Johannes Luber jaluber at gmx.de
Thu Nov 15 03:27:25 PST 2007


Clifford Heath wrote:
> Kevin J. Cummings wrote:
>> That's what syntactic predicates do.  If you can view far enough ahead
>> to see what you want, you can avoid ANTLR doing the "wrong" thing.
> 
> Perhaps. But in this case, either alternative is ok, and the chosen one
> especially so, and I can't look far enough ahead anyhow (using k=5), so
> I just want to hide the warning.

For now there is no capability to hide a warning. I don't know if 3.1
includes it or at earliest 3.2.

Johannes


More information about the antlr-interest mailing list