[antlr-interest] specify package name for generated lexer and parser?

Ludwig Maes ludwig.maes at gmail.com
Sat Apr 7 22:32:55 PDT 2012


Hi, im working on a small java project, and wrote a small parser for
it. All the project files reside in a named package, inserting the
package declaration at every recompile is not a very clean way. If I
put it in the @header { } section only the parser and not the lexer
gets it. Am I missing something?


More information about the antlr-interest mailing list