I have a rule
body returns [ std::string t9 ]
: t9:term7 ( DOLLAR w term7 {t9 += "$" + t;} )*;
But I can't figure out hos to access the returned value in a rule that
calls body.
I'm using
ANTLR Parser Generator Version 2.7.6 (20070206) 1989-2005,
which is the version in Debian etch.
-- hendrik