[antlr-interest] namespaces in v3

Randall R Schulz rschulz at sonic.net
Wed Nov 29 15:29:01 PST 2006


Jamie,

On Wednesday 29 November 2006 14:57, Jamie Briant wrote:
> How do I get v3 to generate code wrapped in a namespace? The
> namespace option doesn't appear to be supported anymore?

For Java parsers and lexers, it's like this:

@header {
package			tau.tstp;

...
}


@lexer::header {
package			tau.tstp;

...
}


> Jamie


Randall Schulz


More information about the antlr-interest mailing list