summaryrefslogtreecommitdiff
path: root/toc.c
diff options
context:
space:
mode:
Diffstat (limited to 'toc.c')
-rw-r--r--toc.c27
1 files changed, 16 insertions, 11 deletions
diff --git a/toc.c b/toc.c
index bbfce6a..9e4bc94 100644
--- a/toc.c
+++ b/toc.c
@@ -9,20 +9,10 @@
#include <limits.h>
#include <inttypes.h>
#include <stdbool.h>
+#include <float.h>
#include "types.h"
-#include "location.c"
-#include "err.c"
-#include "allocator.c"
-#include "arr.c"
-#include "blockarr.c"
-#include "str.c"
-#include "identifiers.c"
-#include "tokenizer.c"
-#include "parse.c"
-#include "scope.c"
-
static Type *type_user_underlying(Type *t) {
assert(t->kind == TYPE_USER);
Declaration *d = t->user.decl;
@@ -38,6 +28,21 @@ static Type *type_inner(Type *t) {
return t;
}
+#include "rand.c"
+#include "location.c"
+#include "err.c"
+#include "allocator.c"
+#include "arr.c"
+#include "blockarr.c"
+#include "str.c"
+#include "hash_tables.c"
+
+#include "identifiers.c"
+#include "tokenizer.c"
+#include "parse.c"
+#include "scope.c"
+
+
#include "eval.c"
#include "types.c"
static bool cgen_decls_file(CGenerator *g, ParsedFile *f);