[antlr-interest] Problem Creating Imaginary Node
Dejas Ninethousand
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:
declaration
: 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.
--Dejas
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://www.antlr.org/pipermail/antlr-interest/attachments/20080124/f76fee05/attachment.html
More information about the antlr-interest
mailing list