diff options
| author | Mel <mel@rnrd.eu> | 2026-05-03 01:30:28 +0200 |
|---|---|---|
| committer | Mel <mel@rnrd.eu> | 2026-05-03 01:30:28 +0200 |
| commit | 1512abed55dd3f779eb774eb03f605397a4a45fe (patch) | |
| tree | 42ea2ae10c5667bcbd46e30432ed574b620e681a | |
| parent | fb13c2be5538b10ae456bcb30bfef6622ab6911f (diff) | |
| download | catskill-1512abed55dd3f779eb774eb03f605397a4a45fe.tar.zst catskill-1512abed55dd3f779eb774eb03f605397a4a45fe.zip | |
Move tree visit definitions in visit.c to visit/tree.c for future consistency
Signed-off-by: Mel <mel@rnrd.eu>
| -rw-r--r-- | Makefile | 2 | ||||
| -rw-r--r-- | boot/catboot.h | 2 | ||||
| -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 { |
