Posted By:
Dave_Herman
Posted On:
Thursday, May 10, 2001 08:14 PM
When using imaginary nodes, how do I specify the node type? I thought it would work like this:
tokens {
DEC_LIST
;
}
...
declarationList
: (declaration)+
{ #declarationList =
#(#[DEC_LIST,"decList"],
#declarationList); }
;
This doesn't seem to work -- it creates a node of the default AST node type, not of
DeclarationList
.
Thanks,
Dave