[antlr-interest] Problem Creating Imaginary Node
dejas9000 at gmail.com
Thu Jan 24 08:19:33 PST 2008
Based on my understanding of the documentation at
http://www.antlr.org/wiki/display/ANTLR3/Tree+construction I am attempting
to create an imaginary node on my AST via:
: type_identifier IDENTIFIER -> ^(DECLtype_identifier IDENTIFIER)
But whenever I try to generate the code from within ANTLRWorks 1.1.5 it
complains that DECL is an undefined token. What am I missing? Thanks.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the antlr-interest