[antlr-interest] Ambiguities in ANTLR's web Java grammar

Alexandre Porcelli porcelli at uol.com.br
Thu Oct 25 07:32:39 PDT 2007


The "if-else" structure always generates ambiguities warnings but the
default ANTLR behavior automatically "recover" this problem (for more
information check the ANTLR Terence Book).
Resume: Same ambiguities you can just discard (ie: "if-else").

On 10/25/07, Cristian Peraferrer <corellian.c at gmail.com> wrote:
> Hi,
>
> I've found that the Java.g grammar file, doesn't work, as it has a couple of
> ambiguities, starting from the basic "if-else" statements.
>
> My question is, for example, how it can be the "if-else" ambiguity fixed?
>
> Please I need some help on this, so anyways the Java grammar posted in the
> web needs to be fixed somehow.
>
>
> Regards,
>
> Cris
>
> --
> GPG Key-ID: 0x564903FA - JID: corellian at swissjabber.ch


More information about the antlr-interest mailing list