aboutsummaryrefslogtreecommitdiff
path: root/src/compile
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-24 17:20:52 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-24 17:20:52 -0400
commit5bc70e2d64392441d182fc9c6e65d4ba5b92e4c2 (patch)
tree823a04db18172e8bf3dceaa6dddc55e80d39f2c5 /src/compile
parent31beca9f417c2c4fd32eaae01b3e855acf892220 (diff)
Rename promotion -> promotions
Diffstat (limited to 'src/compile')
-rw-r--r--src/compile/assignments.c2
-rw-r--r--src/compile/functions.c2
-rw-r--r--src/compile/integers.c2
-rw-r--r--src/compile/lists.c2
-rw-r--r--src/compile/pointers.c2
-rw-r--r--src/compile/promotions.c (renamed from src/compile/promotion.c)2
-rw-r--r--src/compile/promotions.h (renamed from src/compile/promotion.h)0
-rw-r--r--src/compile/sets.c2
-rw-r--r--src/compile/statements.c2
-rw-r--r--src/compile/tables.c2
10 files changed, 9 insertions, 9 deletions
diff --git a/src/compile/assignments.c b/src/compile/assignments.c
index 83dbd287..0f4c8835 100644
--- a/src/compile/assignments.c
+++ b/src/compile/assignments.c
@@ -8,7 +8,7 @@
#include "../typecheck.h"
#include "integers.h"
#include "pointers.h"
-#include "promotion.h"
+#include "promotions.h"
#include "types.h"
public
diff --git a/src/compile/functions.c b/src/compile/functions.c
index cc6aba87..418705aa 100644
--- a/src/compile/functions.c
+++ b/src/compile/functions.c
@@ -14,7 +14,7 @@
#include "assignments.h"
#include "blocks.h"
#include "integers.h"
-#include "promotion.h"
+#include "promotions.h"
#include "statements.h"
#include "structs.h"
#include "text.h"
diff --git a/src/compile/integers.c b/src/compile/integers.c
index 97c9c61a..fc615c3b 100644
--- a/src/compile/integers.c
+++ b/src/compile/integers.c
@@ -8,7 +8,7 @@
#include "../stdlib/text.h"
#include "../typecheck.h"
#include "../types.h"
-#include "promotion.h"
+#include "promotions.h"
Text_t compile_int_to_type(env_t *env, ast_t *ast, type_t *target) {
if (ast->tag != Int) {
diff --git a/src/compile/lists.c b/src/compile/lists.c
index 9e9fa2fa..a7667634 100644
--- a/src/compile/lists.c
+++ b/src/compile/lists.c
@@ -15,7 +15,7 @@
#include "functions.h"
#include "optionals.h"
#include "pointers.h"
-#include "promotion.h"
+#include "promotions.h"
#include "statements.h"
#include "types.h"
diff --git a/src/compile/pointers.c b/src/compile/pointers.c
index 7efb5179..b9486899 100644
--- a/src/compile/pointers.c
+++ b/src/compile/pointers.c
@@ -11,7 +11,7 @@
#include "../stdlib/text.h"
#include "../typecheck.h"
#include "assignments.h"
-#include "promotion.h"
+#include "promotions.h"
public
Text_t compile_to_pointer_depth(env_t *env, ast_t *ast, int64_t target_depth, bool needs_incref) {
diff --git a/src/compile/promotion.c b/src/compile/promotions.c
index 30c8f69b..febbbd1f 100644
--- a/src/compile/promotion.c
+++ b/src/compile/promotions.c
@@ -1,4 +1,4 @@
-#include "promotion.h"
+#include "promotions.h"
#include "../ast.h"
#include "../compile.h"
#include "../environment.h"
diff --git a/src/compile/promotion.h b/src/compile/promotions.h
index 2cfe0cbf..2cfe0cbf 100644
--- a/src/compile/promotion.h
+++ b/src/compile/promotions.h
diff --git a/src/compile/sets.c b/src/compile/sets.c
index 2abd4a08..bfa21db7 100644
--- a/src/compile/sets.c
+++ b/src/compile/sets.c
@@ -9,7 +9,7 @@
#include "functions.h"
#include "optionals.h"
#include "pointers.h"
-#include "promotion.h"
+#include "promotions.h"
#include "statements.h"
#include "types.h"
diff --git a/src/compile/statements.c b/src/compile/statements.c
index 8dcac48c..30972a9b 100644
--- a/src/compile/statements.c
+++ b/src/compile/statements.c
@@ -18,7 +18,7 @@
#include "functions.h"
#include "optionals.h"
#include "pointers.h"
-#include "promotion.h"
+#include "promotions.h"
#include "statements.h"
#include "text.h"
#include "types.h"
diff --git a/src/compile/tables.c b/src/compile/tables.c
index c9feca5e..c99ac1b1 100644
--- a/src/compile/tables.c
+++ b/src/compile/tables.c
@@ -9,7 +9,7 @@
#include "functions.h"
#include "optionals.h"
#include "pointers.h"
-#include "promotion.h"
+#include "promotions.h"
#include "statements.h"
#include "types.h"