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
signature.asc
Description: OpenPGP digital signature
List: http://www.antlr.org/mailman/listinfo/antlr-interest Unsubscribe: http://www.antlr.org/mailman/options/antlr-interest/your-email-address
