[antlr-interest] lexer/parser code generation

Jim Idle jimi at temporal-wave.com
Mon Aug 9 15:06:55 PDT 2010


@parser::header {
package ...
}
@lexer::header {
package ...
}

Did you use the search engine on the support page?  antlr.markmail.org 

Jim

> -----Original Message-----
> From: antlr-interest-bounces at antlr.org [mailto:antlr-interest-
> bounces at antlr.org] On Behalf Of William Tribbey
> Sent: Monday, August 09, 2010 2:46 PM
> To: antlr-interest at antlr.org
> Subject: [antlr-interest] lexer/parser code generation
> 
> Hello All,
> 
> This is a small thing, I know, but it is rather pesky to me. I would like
the lexer
> and parser generated by ANTLR to have a package statement in the written
> files so that I can have them generated right into my project's folders.
> 
> I poked around awhile but I must be looking in the wrong places. Does
> anyone have an answer other than the obvious 'quit whining'?
> 
> Cheers,
> 
> Will T.
> 
> List: http://www.antlr.org/mailman/listinfo/antlr-interest
> Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-
> email-address



More information about the antlr-interest mailing list