Now parses into parse trees! Still does not add the null-reducable trees, and there are a few ordering mistakes, but it works.
This commit is contained in:
@@ -220,7 +220,7 @@ std::string NodeTree<T>::DOTGraphStringHelper() {
|
||||
if (children[i] != NULL)
|
||||
ourDOTRelation += getDOTName() + " -> " + children[i]->getDOTName() + ";\n" + children[i]->DOTGraphStringHelper();
|
||||
else
|
||||
ourDOTRelation += getDOTName() + " -> BAD_NULL_" + getDOTName();
|
||||
ourDOTRelation += getDOTName() + " -> BAD_NULL_" + getDOTName() + "\n";
|
||||
}
|
||||
return(ourDOTRelation);
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user