abouttreesummaryrefslogcommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorPatrick Schönberger2021-08-11 23:34:11 +0200
committerPatrick Schönberger2021-08-11 23:34:11 +0200
commit9610ce88f0b753db81014a053bd3c6d79471c90c (patch)
treecfe08fa3543362bcb92473e23785efdf5666486c /src/main.cpp
parent17860defa84c6d8bc0e8bc088a7e09361f17db07 (diff)
downloadtoc-9610ce88f0b753db81014a053bd3c6d79471c90c.tar.gz
toc-9610ce88f0b753db81014a053bd3c6d79471c90c.zip
add comments, fix struct/function lookup
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 3523cdf..6792e83 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -7,6 +7,7 @@
#include "toc.h"
#include "repr.h"
#include "repr_get.h"
+#include "generic.h"
//#include "check.h"
using namespace antlr4;
@@ -35,6 +36,7 @@ int main(int argc, const char * argv[])
//std::cout << "Parse Tree: " << s << std::endl;
Program prg = getProgram(prog, nullptr);
+ instantiateGenerics(prg);
try
{