[antlr-interest] Re: How to use antlr

jay_ayliff jay_ayliff at compuserve.com
Thu Jun 17 06:04:22 PDT 2004


Ah, that did it. I thought CLASSPATH was a *NIX version of PATH. Now 
I find that the HTML.G file will compile, but when I run ANTLR 
against the csharp\java\java.g file I get this:

F:\antlr-2.7.3\examples\csharp\java>java antlr.Tool java.g
ANTLR Parser Generator   Version 2.7.3   1989-2004 jGuru.com
error: Token stream error reading grammar(s):
java.g:1627:17: unexpected char: ')'
java.g:1627:17: rule classDef trapped:
java.g:1627:17: expecting SEMI, found ')'
error: aborting grammar 'JavaRecognizer' due to errors
Exiting due to errors.

I've probably got enough to be going on with in the HTML.G file if 
there's no obvious answer to the JAVA.G.

Thanks for the help so far.

Regards

Jay Ayliff



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
     http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
     antlr-interest-unsubscribe at yahoogroups.com

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



More information about the antlr-interest mailing list