[antlr-interest] C++ namespace/documentation

Dejan Jovanović dejan.jovanovic at gmail.com
Mon Feb 27 08:21:25 PST 2006


Hi,

I am using antlr 2.7.6 in C++ mode.

Is it possible to get rid of the ANTLR_BEGIN_NAMESPACE(parser) macros in
the generated sources and get the namespace declarations directly?

I need this because I am generating documentation from the sources using
doxygen, and it doesn't recognise the namespaces defined in this way.
The eclipse CDT also doesn't handle these macros which results in wrong
error annotations in the source.

Best, Dejan


More information about the antlr-interest mailing list