How do I make ANTLR generate c++ code in a (nested)...
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   David_Wagner
Posted On:   Thursday, August 24, 2000 08:22 AM

How do I make ANTLR generate c++ code in a (nested) namespace?

Re: How do I make ANTLR generate c++ code in a (nested)...

Posted By:   Ric_Klaren  
Posted On:   Tuesday, May 1, 2001 01:54 AM

Just specify the complete 'path' to the
namespace in the namespace option.
delimited by '::'.

e.g. namespace = "foo::bar";

would generate nested namespace calls for
a namespace 'foo' and 'bar'.

Think this was included for antlr 2.7.1
(maybe 2.7.0) patch courtesy of David Wagner.

About | Sitemap | Contact