[antlr-interest] header for lexer in v3

Terence Parr parrt at cs.usfca.edu
Fri Jan 12 11:25:11 PST 2007


please see

http://www.antlr.org/wiki/display/ANTLR3/Migrating+from+ANTLR+2+to 
+ANTLR+3

and a search reveals

http://www.antlr.org/pipermail/antlr-interest/2006-October/ 
017948.html

Ter

On Jan 12, 2007, at 12:13 PM, fhaupt at informatik.uni-wuerzburg.de wrote:

> hi there,
>
> where can i define the @header { } for the outputtet lexer-file?
>
> the normal header on top of my grammar is only put into the parser  
> file. however i'd need the package declaration also in the lexer  
> class...
>
>
> thanks a lot
>
> fabian



More information about the antlr-interest mailing list