Started adding the nullable parts machinery. Also started to fix addStates for RNGLR and null reductions so it only truncated the rule to what had already been parsed, but now it looks like it maybe shouldn't truncate at all and use pointer position for length. However, I have to go to bed and will pick up later.
This commit is contained in:
@@ -26,7 +26,7 @@ class ParseRule {
|
||||
void appendToRight(Symbol* appendee);
|
||||
|
||||
Symbol* getLeftSide();
|
||||
void setRightSide(std::vector<Symbol*> &rightSide);
|
||||
void setRightSide(std::vector<Symbol*> rightSide);
|
||||
std::vector<Symbol*> getRightSide();
|
||||
Symbol* getAtNextIndex();
|
||||
Symbol* getAtIndex();
|
||||
|
||||
Reference in New Issue
Block a user