RNGLR Recognizer now works for grammers without null rules.

This commit is contained in:
Nathan Braswell
2013-08-02 02:47:01 -04:00
parent 9887555dd5
commit 49d149bc1f
8 changed files with 96 additions and 1 deletions

View File

@@ -78,7 +78,7 @@ bool GraphStructuredStack::hasEdge(NodeTree<int>* start, NodeTree<int>* end) {
void GraphStructuredStack::addEdge(NodeTree<int>* start, NodeTree<int>* end) {
start->addChild(end);
end->addChild(start);
end->addParent(start);
}
std::string GraphStructuredStack::toString() {