abouttreesummaryrefslogcommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp8
1 files changed, 4 insertions, 4 deletions
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);