summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'main.c')
-rw-r--r--main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/main.c b/main.c
index 3299df4..48ae840 100644
--- a/main.c
+++ b/main.c
@@ -9,6 +9,10 @@
/*
@TODO:
get rid of blocks returning values
+turn if, while, for, block into statements
+see if you can get rid of Expression.cgen.id--would mean that kind doesn't have to be a bitfield anymore
+make sure functions which should return things do
+check return #C("3");
initialization statements (maybe #init(-50), where -50 is the priority and <0 is reserved for standard library)
if we do #include "foo.toc", bar; and foo.toc fails, bar should be declared as TYPE_UNKNOWN (right now it's undeclared)
improve type_to_str: