[antlr-interest] Naming of java files

Terence Parr parrt at cs.usfca.edu
Fri Jun 6 12:19:28 PDT 2008


3.1 is more sane this way.
Ter
On Jun 6, 2008, at 12:13 PM, David Zajic wrote:

> I'm playing the antlr examples in examples-v3 and the xml parsing  
> tutorial.  The examples seem to expect that for a lexer in  
> <name>Lexer.g, org.antlr.Tool will create a java code file called  
> <name>Lexer.java, but the tool really creates a file called  
> <name>LexerLexer.java.  The result is that either the .g files must  
> be renamed, or the java main classes must be edited to look for  
> <name>LexerLexer classes.  Is there a way to control the naming  
> conventions so the examples work properly?
>
>   Thanks,
>   David Zajic
>



More information about the antlr-interest mailing list