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:
Nathan Braswell
2013-06-21 14:46:15 -04:00
parent 20b059ca45
commit 17dd186373
3 changed files with 20 additions and 5 deletions

View File

@@ -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();