Jim, just found a problem you might want to know. pANTLR3_BASE_TREE->getParent() can return rubbish because the parent of the super member can be nil and this is not checked:
return & (((pANTLR3_COMMON_TREE)(tree->super))->parent->baseTree); Happend to me when the parser only returned a tree error node as AST. Mike -- www.soft-gems.net
_______________________________________________ antlr-dev mailing list antlr-dev@antlr.org http://www.antlr.org/mailman/listinfo/antlr-dev