[antlr-interest] Problem with ANTLR Plugin for Eclipse.

Bharath Sundararaman Bharath.Sundararaman at starthis.com
Fri Mar 18 09:23:57 PST 2005


Hi Antlers,

I use ANTLR in Eclipse (http://antlreclipse.sourceforge.net/updates/)
and since few hours back, I am unable to compile my grammar to generate
java code. The ANTLR plugin recognized and displays errors (for eg. If I
deliberately removed a semicolon b/w two rules, I get the usual error)
but it does not generate the java code.

Anybody ever faced this issue? I deleted the .java file that was
previously generated by the same grammar and it doesn't help.

Thanks,

Bharath.


-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Michiel Vermandel
Sent: Friday, March 18, 2005 10:17 AM
To: Micheal J
Cc: antlr-interest at antlr.org
Subject: RE: [antlr-interest] Problem with PLSQLGrammar.g

Okway, thanks.
I wasn't aware that it has no influence.
I'll remove it from the file.

Thanks

-----Original Message-----
From: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] On Behalf Of Micheal J
Sent: vrijdag 18 maart 2005 17:28
To: antlr-interest at antlr.org
Subject: RE: [antlr-interest] Problem with PLSQLGrammar.g


You may try contacting the original authors if you feel strongly about
that class. Their contact details are in the grammar file.

Note however that having that class will add nothing to the
parsing/lexing as specified in the .g file. The class in not used at
all. If you've made the change I advised, it is not even referenced
anywhere.

Cheers,

Micheal
ANTLR/C#

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org
> [mailto:antlr-interest-bounces at antlr.org] On Behalf Of 
> Michiel Vermandel
> Sent: 18 March 2005 16:01
> To: antlr-interest at antlr.org
> Subject: RE: [antlr-interest] Problem with PLSQLGrammar.g
> 
> 
> No chance that anyone has the SELECT_EXPRESSIONNode class available?
> 
> Thanks!
> 
> -----Original Message-----
> From: antlr-interest-bounces at antlr.org
> [mailto:antlr-interest-bounces at antlr.org] On > Behalf Of 
> Micheal J
> Sent: vrijdag 18 maart 2005 17:10
> To: antlr-interest at antlr.org
> Subject: RE: [antlr-interest] Problem with PLSQLGrammar.g
> 
> 
> Please post in text format not HTML in future.
> 
> The PLSQLGrammar as written depends on a class called
> 'SELECT_EXPRESSIONNode' which isn't included in the .g file. 
> Make the following change and try again.
> 
> Change the line that reads:
>     SELECT_EXPRESSION<AST=SELECT_EXPRESSIONNode>;
> To:
>     SELECT_EXPRESSION;
> 
> NOTE: I have looked at the PLSQLGrammar.g file just for long
> enough to determine the reason for the reference to a 
> 'SELECT_EXPRESSIONNode' type. The above change resolves that 
> issue only.
> 
> Cheers,
> 
> Micheal
> ANTLR/C#
> 
> 



More information about the antlr-interest mailing list