[antlr-interest] antlrv3-maven plugin problem with "monolitic" grammars

David-Sarah Hopwood david-sarah at jacaranda.org
Mon Dec 7 12:48:53 PST 2009


Corrado Campisano wrote:
> I experienced a problem with "monolitic" grammars (both parser and lexer)
> when generating Lexer and Parser:the problem is the "package" directive is
> added to the Parser only and not to the Lexer.

You need to specify both @lexer::header and @parser::header.

-- 
David-Sarah Hopwood  ⚥  http://davidsarah.livejournal.com

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 292 bytes
Desc: OpenPGP digital signature
Url : http://www.antlr.org/pipermail/antlr-interest/attachments/20091207/459c005b/attachment.bin 


More information about the antlr-interest mailing list