RNGLR Recognizer now works for grammers without null rules.
This commit is contained in:
@@ -73,6 +73,10 @@ 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++;
|
||||
|
||||
Reference in New Issue
Block a user