Set parent in node_new to insert T_NEXUS nodes only when they are read
In order to properly handle vped_include() failing, we need a way to insert a node only when it's ready and free it when not. Thus, we link to the parent in node_new(), but do not insert the child to the parent's list. As before, this happens in node_insert. On the way, we also add node_free() to free a node without finalizing it. Partly fixes !11
Showing
Please register or sign in to comment