Hi
I downloaded the latest release (antlr-3.2.jar) of the runtime jar files and
tried to generate a lexer.
I ran into some errors which I was looking into and found this strange behavior.
If I invoke the main method in the class 'antlr.Tool' as shown in the command
line below,
java -cp /usr/local/antlr/antlr-3.2.jar antlr.Tool mylexer.g
the tool assumes that I want to use ANTLR v2.7.7
However, if I invoke teh main method in the class 'org.antlr.Tool' as shown in
the command line below,
java -cp /usr/local/antlr/antlr-3.2.jar org.antlr.Tool mylexer.g
the tool assumes that I want to use ANTLR v3.2
This is very confusing and I have not yet been able to identify any portion of
the documentation that
describes this difference. Can we perhaps make this distinction clear in either
the README or some
other equivalent documentation describing the command line?
Cheers
Ramanand
_______________________________________________
antlr-dev mailing list
[email protected]
http://www.antlr.org/mailman/listinfo/antlr-dev