some tests failing because things have been made reference in vector, but grammer actually generates the state set for the real grammer in 2 minutes or so after a day of profiling and bugfixing, so this is gonna be committed.
This commit is contained in:
@@ -112,7 +112,11 @@ void Parser::createStateSet() {
|
||||
std::queue<State*> toDo;
|
||||
toDo.push(zeroState);
|
||||
//std::cout << "Begining for main set for loop" << std::endl;
|
||||
int count = 0;
|
||||
while (toDo.size()) {
|
||||
if (count % 200 == 0)
|
||||
std::cout << "while count: " << count << std::endl;
|
||||
count++;
|
||||
//closure
|
||||
closure(toDo.front());
|
||||
//Add the new states
|
||||
|
||||
Reference in New Issue
Block a user