summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2020-07-10 16:50:20 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2020-07-10 16:50:20 -0400
commit2978835a86ef7041f0ff0367882c0d4e82b17635 (patch)
treefc05697d26a518edb45f0faed668a493d7ad0eb6 /main.c
parent3080d1149ad3838f053d5d4faad25f24555337ef (diff)
fixed problem where wrong argument type wasnt being detected
Diffstat (limited to 'main.c')
-rw-r--r--main.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/main.c b/main.c
index 3e06c41..4515bc9 100644
--- a/main.c
+++ b/main.c
@@ -8,9 +8,10 @@
/*
@TODO:
-figure out how printf is gonna work
+error when a template is used after it's defined
if we do #include "foo.toc", bar; and foo.toc fails, bar should be declared as TYPE_UNKNOWN (right now it's undeclared)
fix #foreign not at global scope - right now the cgen'd definition doesn't use the proper type
+figure out how printf is gonna work
find out why loop with file output is really slow at compile time; try to improve it
improve type_to_str:
Foo ::= struct(t::Type) {}