aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authornsfisis <nsfisis@gmail.com>2025-08-22 23:28:25 +0900
committernsfisis <nsfisis@gmail.com>2025-08-22 23:28:25 +0900
commit9c202a496e75903fe37e5c19cb97c98eba6e35f2 (patch)
tree52de494a4717a3c30c4bacb9dd9b91980be2a575
parent0ac6ac95283735dd70ebf55b26ef78a4c32c31de (diff)
downloadducc-9c202a496e75903fe37e5c19cb97c98eba6e35f2.tar.gz
ducc-9c202a496e75903fe37e5c19cb97c98eba6e35f2.tar.zst
ducc-9c202a496e75903fe37e5c19cb97c98eba6e35f2.zip
chore: move *.c and *.h files to src/
-rw-r--r--main.c18
-rw-r--r--src/ast.c (renamed from ast.c)0
-rw-r--r--src/codegen.c (renamed from codegen.c)0
-rw-r--r--src/common.c (renamed from common.c)0
-rw-r--r--src/io.c (renamed from io.c)0
-rw-r--r--src/parse.c (renamed from parse.c)0
-rw-r--r--src/preprocess.c (renamed from preprocess.c)0
-rw-r--r--src/std.h (renamed from std.h)0
-rw-r--r--src/sys.c (renamed from sys.c)0
-rw-r--r--src/tokenize.c (renamed from tokenize.c)0
10 files changed, 9 insertions, 9 deletions
diff --git a/main.c b/main.c
index 3f9be2e..f34baf1 100644
--- a/main.c
+++ b/main.c
@@ -1,14 +1,14 @@
// Currently the source code depends on the #include order.
// clang-format off
-#include "std.h"
-#include "common.c"
-#include "io.c"
-#include "sys.c"
-#include "preprocess.c"
-#include "tokenize.c"
-#include "ast.c"
-#include "parse.c"
-#include "codegen.c"
+#include "src/std.h"
+#include "src/common.c"
+#include "src/io.c"
+#include "src/sys.c"
+#include "src/preprocess.c"
+#include "src/tokenize.c"
+#include "src/ast.c"
+#include "src/parse.c"
+#include "src/codegen.c"
// clang-format on
int main(int argc, char** argv) {
diff --git a/ast.c b/src/ast.c
index 66f7cc2..66f7cc2 100644
--- a/ast.c
+++ b/src/ast.c
diff --git a/codegen.c b/src/codegen.c
index a1167d4..a1167d4 100644
--- a/codegen.c
+++ b/src/codegen.c
diff --git a/common.c b/src/common.c
index 1b89f8c..1b89f8c 100644
--- a/common.c
+++ b/src/common.c
diff --git a/io.c b/src/io.c
index 5cd5e86..5cd5e86 100644
--- a/io.c
+++ b/src/io.c
diff --git a/parse.c b/src/parse.c
index 8f06a83..8f06a83 100644
--- a/parse.c
+++ b/src/parse.c
diff --git a/preprocess.c b/src/preprocess.c
index b1810cd..b1810cd 100644
--- a/preprocess.c
+++ b/src/preprocess.c
diff --git a/std.h b/src/std.h
index c1dcd66..c1dcd66 100644
--- a/std.h
+++ b/src/std.h
diff --git a/sys.c b/src/sys.c
index aa7b13d..aa7b13d 100644
--- a/sys.c
+++ b/src/sys.c
diff --git a/tokenize.c b/src/tokenize.c
index a7e99b2..a7e99b2 100644
--- a/tokenize.c
+++ b/src/tokenize.c