summaryrefslogtreecommitdiff
path: root/parse/names.c
diff options
context:
space:
mode:
authorOri Bernstein <ori@eigenstate.org>2015-09-26 23:47:46 -0700
committerOri Bernstein <ori@eigenstate.org>2015-09-26 23:47:46 -0700
commitc74b0bc06994e9a4921131696a5714cf83642acc (patch)
tree415b1001ccfc44b55c7fa4d8a2d130ee38907ee2 /parse/names.c
parentbb4ff654b3f0ce2e067e707f83310af5ebc50679 (diff)
downloadmc-c74b0bc06994e9a4921131696a5714cf83642acc.tar.gz
Separate out the concepts of code and func ptrs.
In order to pass around functions with environments for closures, we need to refer to the type of a function pointer, as well as the type of code. This is ugly. When I rewrite the backend I should change it.
Diffstat (limited to 'parse/names.c')
-rw-r--r--parse/names.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/parse/names.c b/parse/names.c
index 5ca71e8..6fe76b8 100644
--- a/parse/names.c
+++ b/parse/names.c
@@ -50,7 +50,7 @@ char *litstr[] = {
};
char *tidstr[] = {
-#define Ty(t, n) n,
+#define Ty(t, n, stk) n,
#include "types.def"
#undef Ty
};