X-Git-Url: https://gitweb.ps.run/toc/blobdiff_plain/be56e29997e17685eebf8bd7cb745183c60de7db..7f83e1b208e87e3808b268303bb633a8fda203f5:/src/main.cpp?ds=sidebyside diff --git a/src/main.cpp b/src/main.cpp index 19b35f3..461d014 100644 --- a/src/main.cpp +++ b/src/main.cpp @@ -7,7 +7,7 @@ #include "toc.h" #include "repr.h" #include "repr_get.h" -#include "check.h" +//#include "check.h" using namespace antlr4; @@ -35,14 +35,14 @@ int main(int argc, const char * argv[]) //std::cout << "Parse Tree: " << s << std::endl; - Program prg = getProgram(prog); + Program prg = getProgram(prog, nullptr); try { tocProgram(std::cout, prg); - if (!checkProgram(prg)) - std::cerr << "Error" << std::endl; + // if (!checkProgram(prg)) + // std::cerr << "Error" << std::endl; std::ofstream ofs("output.c"); tocProgram(ofs, prg);