summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/types.h b/types.h
index 0c1c628..01b2fa0 100644
--- a/types.h
+++ b/types.h
@@ -299,8 +299,10 @@ typedef enum {
TYPE_TYPE,
TYPE_EXPR, /* just use this expression as the type. this kind of type doesn't exist after resolving. */
TYPE_STRUCT
+#define TYPE_COUNT (TYPE_STRUCT+1)
} TypeKind;
+
typedef enum {
BUILTIN_I8,
BUILTIN_I16,