[antlr-interest] Naming of java files
David Zajic
dmzajic at umiacs.umd.edu
Fri Jun 6 12:13:09 PDT 2008
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