aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-24 15:32:17 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-24 15:32:17 -0400
commitc62c3200c7078f58b218def14c54bbfd26677069 (patch)
treeb4e2d4b943ca3a63a95d6e516ff5bb45a46f238e /src
parent3f9f82ca53ed353d10ae65fc958e73193e8d9739 (diff)
Pluralize filenames
Diffstat (limited to 'src')
-rw-r--r--src/compile.c4
-rw-r--r--src/compile/enums.c2
-rw-r--r--src/compile/lists.c (renamed from src/compile/list.c)0
-rw-r--r--src/compile/lists.h (renamed from src/compile/list.h)0
-rw-r--r--src/compile/pointers.c (renamed from src/compile/pointer.c)1
-rw-r--r--src/compile/pointers.h (renamed from src/compile/pointer.h)0
-rw-r--r--src/compile/structs.c2
7 files changed, 4 insertions, 5 deletions
diff --git a/src/compile.c b/src/compile.c
index c2c931c8..c03ab58d 100644
--- a/src/compile.c
+++ b/src/compile.c
@@ -9,8 +9,8 @@
#include "ast.h"
#include "compile.h"
#include "compile/enums.h"
-#include "compile/list.h"
-#include "compile/pointer.h"
+#include "compile/lists.h"
+#include "compile/pointers.h"
#include "compile/structs.h"
#include "config.h"
#include "environment.h"
diff --git a/src/compile/enums.c b/src/compile/enums.c
index c28aafae..f09d41ba 100644
--- a/src/compile/enums.c
+++ b/src/compile/enums.c
@@ -9,7 +9,7 @@
#include "../stdlib/tables.h"
#include "../stdlib/text.h"
#include "../typecheck.h"
-#include "pointer.h"
+#include "pointers.h"
#include "structs.h"
Text_t compile_enum_typeinfo(env_t *env, ast_t *ast) {
diff --git a/src/compile/list.c b/src/compile/lists.c
index 01036cda..01036cda 100644
--- a/src/compile/list.c
+++ b/src/compile/lists.c
diff --git a/src/compile/list.h b/src/compile/lists.h
index b9bf74d6..b9bf74d6 100644
--- a/src/compile/list.h
+++ b/src/compile/lists.h
diff --git a/src/compile/pointer.c b/src/compile/pointers.c
index 50c267b6..cb11844d 100644
--- a/src/compile/pointer.c
+++ b/src/compile/pointers.c
@@ -10,7 +10,6 @@
#include "../environment.h"
#include "../stdlib/text.h"
#include "../typecheck.h"
-#include "list.h"
Text_t compile_to_pointer_depth(env_t *env, ast_t *ast, int64_t target_depth, bool needs_incref) {
Text_t val = compile(env, ast);
diff --git a/src/compile/pointer.h b/src/compile/pointers.h
index 306c3019..306c3019 100644
--- a/src/compile/pointer.h
+++ b/src/compile/pointers.h
diff --git a/src/compile/structs.c b/src/compile/structs.c
index d7cbcddf..a5889ff8 100644
--- a/src/compile/structs.c
+++ b/src/compile/structs.c
@@ -8,7 +8,7 @@
#include "../stdlib/tables.h"
#include "../stdlib/text.h"
#include "../typecheck.h"
-#include "pointer.h"
+#include "pointers.h"
public
Text_t compile_struct_typeinfo(env_t *env, type_t *t, const char *name, arg_ast_t *fields, bool is_secret,