[antlr-interest] specify package name for generated lexer and parser?
Ludwig Maes
ludwig.maes at gmail.com
Sat Apr 7 22:36:48 PDT 2012
I just realized this could be done with action scoping: lexer::header etc
On 8 April 2012 07:32, Ludwig Maes <ludwig.maes at gmail.com> wrote:
> 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