Added a firstSet(Symbol*) function that takes in a Symbol* and returns a vector of Symbol* s that are the first set of the first Symbol*.

This commit is contained in:
Nathan Braswell
2013-06-13 19:11:31 -04:00
parent 0c651a5d9e
commit da6e5f3de9
3 changed files with 41 additions and 0 deletions

View File

@@ -69,6 +69,7 @@ int main(int argc, char* argv[]) {
std::cout << programInputFileString << std::endl;
NodeTree* parseTree = parser.parseInput(new Lexer(programInputFileString));
parser.printFirstSets();
if (parseTree) {
std::cout << parseTree->DOTGraphString() << std::endl;