• Nils Goroll's avatar
    Set parent in node_new to insert T_NEXUS nodes only when they are read · cbe2a404
    Nils Goroll authored
    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
    cbe2a404
node.c 24.1 KB