[antlr-interest] C++ namespace option

Ric Klaren klaren at cs.utwente.nl
Thu Sep 23 15:16:13 PDT 2004


On Thu, Sep 23, 2004 at 11:42:11PM +0200, Martin Probst wrote:
> I want to wrap my generated parser / lexer into a namespace. I've found
> the option 'namespace="xxx";' for C++ but this doesn't really work as
> expected.
> When I just write that into my options block nothing compiles anymore,
> g++ gives me errors within the ANTLR include files?

What did you write in the namespace option and what did get generated for
it ?

Cheers,

Ric
--
-----+++++*****************************************************+++++++++-------
    ---- Ric Klaren ----- j.klaren at utwente.nl ----- +31 53 4893755  ----
-----+++++*****************************************************+++++++++-------
  "You know how to use that thing?" [pointing to the sword]
  "Sure.. The pointy end goes into the other guy."
  --- The Mask of Zorro



 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/antlr-interest/

<*> To unsubscribe from this group, send an email to:
    antlr-interest-unsubscribe at yahoogroups.com

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



More information about the antlr-interest mailing list