summaryrefslogtreecommitdiff
path: root/main.c
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-11-13 23:03:49 -0500
committerLeo Tenenbaum <pommicket@gmail.com>2019-11-13 23:03:49 -0500
commit456797c3779ecd0a2c7a64a74bfb7bf3b6b61e16 (patch)
treea40cb1559b0e9f7d2c2ee23c1d00064c46e94644 /main.c
parent41bb75cea1821ad2b676fdbb4847ce5441f00f42 (diff)
fixed a bunch of bugs!!
mainly to do with default arguments and named return values. also cgen unicode identifier support!
Diffstat (limited to 'main.c')
-rw-r--r--main.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/main.c b/main.c
index a7a0888..d39ee62 100644
--- a/main.c
+++ b/main.c
@@ -1,7 +1,7 @@
/*
TODO:
-evaluate default arguments
-make sure they're only evaluated once
+memory leaks!
+deal with unused functions
compile time arguments + out parameters (in C)
double check that val_get_ptr is being used everywhere it should be
compile-time arguments for out parameter functions
@@ -12,7 +12,6 @@ struct parameters
don't allow while {3; 5} (once break is added)
any odd number of "s for a string
modifiable string literals
-unicode variable names (cgen support)
make sure futurely/currently-declared types are only used by pointer/slice
allow omission of trailing ; in foo @= fn() {}?
*/
@@ -127,7 +126,8 @@ int main(int argc, char **argv) {
free(contents);
allocr_free_all(&main_allocr);
-
+ evalr_free(&ev);
+
fclose(out);
/* fclose(h_out); */
idents_free(&file_idents);