How can I change the class Type of imaginary AST nodes in C++ mode?
0 posts in topic
Flat View  Flat View

Posted By:   Patrick_Dietrich
Posted On:   Wednesday, June 21, 2006 12:27 PM

In ANTLR documentation ("ANTLR Tree construction" part) it is stated that construction

#[TYPE, "text", ASTClassNameToConstruct]
can be used.

But with the language option set to "Cpp" ANTLR generates error:

unexpected char: ',' or expecting ']', found ',' .

(this questionn has been asked before but has not been answered since 2003)
About | Sitemap | Contact