Null rules work in RNGLR now, but there seems to be a bug where somehow some states/rules get no lookahead.

This commit is contained in:
Nathan Braswell
2013-08-02 15:21:42 -04:00
parent 49d149bc1f
commit d5b33efb22
5 changed files with 54 additions and 14 deletions

View File

@@ -73,10 +73,6 @@ int ParseRule::getIndex() {
return pointerIndex;
}
std::vector<NodeTree<Symbol*>*>* ParseRule::nullReductions() {
//Return a vector of null reduction trees
}
bool ParseRule::advancePointer() {
if (pointerIndex < rightSide.size()) {
pointerIndex++;