NodeTree now also has a link to the Symbol it represents.

This commit is contained in:
Nathan Braswell
2013-06-27 23:45:38 -04:00
parent 6a2977d12a
commit c2520ec2c4
6 changed files with 37 additions and 18 deletions

View File

@@ -29,15 +29,6 @@ int main(int argc, char* argv[]) {
return(1);
}
NodeTree root;
root.setName("Root");
root.addChild(new NodeTree("SomeChild"));
root.addChild(new NodeTree("SomeOtherChild"));
root.get(0)->addChild(new NodeTree("Grandchildren"));
//outFile << root.DOTGraphString() << std::endl;
//Read the input file into a string
std::string programInputFileString, grammerInputFileString;
std::string line;