aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Makefile2
-rw-r--r--boot/catboot.h2
-rw-r--r--boot/visit/tree.c (renamed from boot/visit.c)2
3 files changed, 3 insertions, 3 deletions
diff --git a/Makefile b/Makefile
index 046c3c1..b8948ac 100644
--- a/Makefile
+++ b/Makefile
@@ -7,7 +7,7 @@ LDFLAGS ?= -ltcc
.DEFAULT_GOAL := all
-BOOTSTRAP_SOURCES = boot/catboot.c boot/catboot.h boot/common.c boot/lex.c boot/tree.c boot/visit.c boot/parse.c boot/transpile.c boot/build.c
+BOOTSTRAP_SOURCES = boot/catboot.c boot/catboot.h boot/common.c boot/lex.c boot/tree.c boot/visit/tree.c boot/parse.c boot/transpile.c boot/build.c
BOOTSTRAP_TEST_SOURCES = boot/tests/test.c
SOURCES = src/catskill.csk
diff --git a/boot/catboot.h b/boot/catboot.h
index f7d3e2d..00764f0 100644
--- a/boot/catboot.h
+++ b/boot/catboot.h
@@ -17,6 +17,6 @@
#include "lex.c"
#include "tree.c"
#include "parse.c"
-#include "visit.c"
+#include "visit/tree.c"
#include "transpile.c"
#include "build.c"
diff --git a/boot/visit.c b/boot/visit/tree.c
index 83de09a..001cd36 100644
--- a/boot/visit.c
+++ b/boot/visit/tree.c
@@ -11,7 +11,7 @@
#pragma once
-#include "catboot.h"
+#include "../catboot.h"
struct Tree_Visit
{