[antlr-interest] Mask shift-reduce warning?
Clifford Heath
clifford.heath at gmail.com
Wed Nov 14 23:49:31 PST 2007
Randall R Schulz wrote:
> On Wednesday 14 November 2007 18:18, Clifford Heath wrote:
>> I have a grammar which has an unavoidable shift-reduce ambiguity,
> Eh? Am I confused? Aren't "shift-reduce" ambiguities something that only
> occur in LR parsers?
Oh, ok, but you know what I mean - what's the equivalent thing in LL called?
It's a situation like the if... else ambiguity, where I want the else to bind
to the closest if.
Is it possible to tell ANTLR that I know this alternative is ambiguous
and not to warn me please?
Clifford Heath.
More information about the antlr-interest
mailing list