[antlr-interest] Generateambigwarnings option
Steve Bennett
stevagewp at gmail.com
Sat Feb 9 06:53:41 PST 2008
On 2/5/08, Gavin Lambert <antlr at mirality.co.nz> wrote:
> At 19:56 5/02/2008, Steve Bennett wrote:
> >
> >I noticed this option in some older grammars, but it doesn't
> seem
> >to be around anymore. Did it change names? It looks handy for
> >making a more readable grammar.
>
> That's a v2-ism. In v3 you're expected to either live with it or
> rewrite your grammar so it's not ambiguous any more ;)
Yeah, well that's sort of what I figured. Both options are kind of
inconvenient: pages of warnings obscure real warnings that I should
know about. Placing synpreds everywhere reduces readability, and iiuc,
performance.
Not a biggie though.
Steve
More information about the antlr-interest
mailing list