AW: [antlr-interest] Re: Eclipse Plugin - Problem

Wirth. Michael M.Wirth at seeburger.de
Fri Jun 6 00:14:52 PDT 2003


In my eclipse installation I can create the sources.
Have you add the right version of antlr.jar to your project?
Perhapts eclipse use the jar of ?"Vanilla"? descriped below.

Rigth click on the root node of your 
project->Properties->Java Build Path->Libraries->Add External JAR's

    Michael


-----Ursprüngliche Nachricht-----
Von: lgcraymer [mailto:lgc at mail1.jpl.nasa.gov]
Gesendet: Donnerstag, 5. Juni 2003 22:47
An: antlr-interest at yahoogroups.com
Betreff: [antlr-interest] Re: Eclipse Plugin - Problem


I had a thought.  "Vanilla" eclipse probably ships with the ANTLR 
2.7.1 jar--ANTLR is used for the refactoring support--and the antlr 
plugin may use the built-in jar file instead of the 2.7.2 supplied.  
The error reported would be consistent with that--2.7.2 has a wider 
default character range than 2.7.1.

--Loring


--- In antlr-interest at yahoogroups.com, mzukowski at y... wrote:
> Bizarre.  Is there any way to see how antlr was invoked?  Any chance 
of
> seeing the version number from antlr starting up?
> 
> Monty
> 
> -----Original Message-----
> From: Thomas Jackson III [mailto:thomas.jackson at m...] 
> Sent: Thursday, June 05, 2003 8:08 AM
> To: antlr-interest at yahoogroups.com
> Subject: [antlr-interest] Eclipse Plugin - Problem
> 
> 
> Hi all,
> 
> I am using the Eclipse plugin(version 1.0.3) for Antlr development 
and have
> run across an anomaly that someone hopefully has an answer to.
> 
> I have the following tokens declared in the Lexer
> 
> NOT : '¬';
> NG  : "¬>";
> NL  : "¬<";
> NE  : "¬=";
> 
> When I compile the grammar in Eclipse it returns the following 
errors.
> 
> Token stream error reading grammar(s):	jcl.g
> unexpected char: '''
> 
> Now, if I go to a command prompt and run the exact same Grammar 
using
> antlr.jar(version 2.7.2) from the Antlr download, I get no errors.
> 
> It has to do with the ¬ character, but why would it generate code in 
one and
> fail in the other?
> 
> Any suggestions as to what may be causing this?
> 
> Thanks
> Thomas Jackson 
>  
> 
>  
> 
> Your use of Yahoo! Groups is subject to 
http://docs.yahoo.com/info/terms/


 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 



 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/ 




More information about the antlr-interest mailing list