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

Jim Idle jimi at temporal-wave.com
Thu Oct 25 08:48:47 PDT 2007


Chris,

 

If you look at the version of this grammar in the examples for the C target,
I have removed these warnings. They are innocuous in that ANTLR produces
'the right thing', but I like to get rid of them anyway.

 

Jim

 

From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Cristian Peraferrer
Sent: Thursday, October 25, 2007 7:17 AM
To: antlr-interest at antlr.org
Subject: [antlr-interest] Ambiguities in ANTLR's web Java grammar

 

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 

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20071025/552ba471/attachment.html 


More information about the antlr-interest mailing list