[antlr-interest] Specify java target package

Olivier Lefevre lefevrol at yahoo.com
Mon Mar 24 09:06:03 PDT 2008


> @lexer::header {
>     package mypackage;
> }

PS: If you do that, then for consistency you should write @parser::header 
as well and not just @header, although parser is the default. Otherwise it 
looks weird (IMO).

-- O.L.



More information about the antlr-interest mailing list