[antlr-interest] Namespace option for C#
Dr. Hartmut Kocher
hwk.cortex-brainware at t-online.de
Mon Jun 4 12:15:45 PDT 2007
Are we talking version 3?
If so, this ist he solution:
@lexer::namespace {
mynamespace.parser
}
@parser::namespace {
mynamespace.parser
}
Hope this helps.
Dr. Hartmut Kocher
Cortex Brainware Consulting & Training GmbH
-----Ursprüngliche Nachricht-----
Von: antlr-interest-bounces at antlr.org
[mailto:antlr-interest-bounces at antlr.org] Im Auftrag von Johannes Luber
Gesendet: Montag, 4. Juni 2007 17:13
An: antlr-interest at antlr.org
Betreff: [antlr-interest] Namespace option for C#
Hello!
I can't find the correct way to define the namespace for the generated
file, when targetting C#. Using "namespace='namespace1.namespce2';" in
the options command results in an invalid option error. Can someone
please enlighten me?
Best regards,
Johannes Luber
More information about the antlr-interest
mailing list