Fixed infinite loop bug- Was attempting to see if a non-closured state and a closured state were equal, almost never were.
This commit is contained in:
@@ -18,6 +18,7 @@ class State {
|
||||
State(int number, ParseRule* basis);
|
||||
~State();
|
||||
bool const operator==(const State &other);
|
||||
bool const basisEquals(const State &other);
|
||||
bool const operator!=(const State &other);
|
||||
std::vector<ParseRule*>* getBasis();
|
||||
std::vector<ParseRule*>* getRemaining();
|
||||
|
||||
Reference in New Issue
Block a user