FINALLY fixed an error that took weeks. Turned out that the ParseRule was shallow copied, and the lookahead was not copied correctly. So it got extended and thus skipped over the state when it should have been redone.
This commit is contained in:
2
main.cpp
2
main.cpp
@@ -88,7 +88,7 @@ int main(int argc, char* argv[]) {
|
||||
//std::cout << "Doing stateSetToString from Main" << std::endl;
|
||||
// std::cout << "\n\n\n\n\n\n\n\n\n\nState Set toString" << std::endl;
|
||||
// std::cout << parser.stateSetToString() << std::endl;
|
||||
// std::cout << "finished stateSetToString from Main" << std::endl;
|
||||
// std::cout << "finished stateSetToString from Main" << std::endl;
|
||||
// std::cout << "\n\n\n\n\n\n\n\n\n\nTable" << std::endl;
|
||||
// std::cout << parser.tableToString() << std::endl;
|
||||
// std::cout << "\n\n\n\n\n\n\n\n\n\nGrammer Input File" << std::endl;
|
||||
|
||||
Reference in New Issue
Block a user