[antlr-interest] getParent() function on ANTLR3_BASE_TREE_struct

Richard Connon conan at irconan.co.uk
Tue Dec 14 04:14:47 PST 2010


I've been trying to use the getParent() function on 
ANTLR3_BASE_TREE_struct but it seems that it's returning invalid values.

It was my understanding that this function would either return the 
address of the parent node in the tree (iff the node isn't the root) or 
NULL (iff the node is).

Is this the case?


More information about the antlr-interest mailing list