aboutsummaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-10 00:03:21 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-03-10 00:03:21 -0500
commita33f73061776d6814f67fecd230c0706bc1ff10c (patch)
tree7f47f83f783f5b08a02bdd940988d9637102e6e4 /compile.c
parentb639f01294f8c528ad0597a179f7e426bccdfb80 (diff)
Rearranging some files
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compile.c b/compile.c
index a395a75c..9d1604cc 100644
--- a/compile.c
+++ b/compile.c
@@ -12,7 +12,7 @@
#include "structs.h"
#include "environment.h"
#include "typecheck.h"
-#include "util.h"
+#include "builtins/util.h"
CORD compile_type_ast(type_ast_t *t)
{
@@ -1518,7 +1518,7 @@ CORD compile_type_info(env_t *env, type_t *t)
module_code_t compile_file(ast_t *ast)
{
env_t *env = new_compilation_unit();
- CORD_appendf(&env->code->imports, "#include <tomo.h>\n");
+ CORD_appendf(&env->code->imports, "#include <tomo/tomo.h>\n");
for (ast_list_t *stmt = Match(ast, Block)->statements; stmt; stmt = stmt->next) {
bind_statement(env, stmt->ast);