aboutsummaryrefslogtreecommitdiff
path: root/src/compile/types.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-08-24 17:13:48 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-08-24 17:13:48 -0400
commit2245c883680ccfbe545f230d6b68c38ce54bceb6 (patch)
tree2a861d7482bcf0f30c07483e6adc287f83e8090a /src/compile/types.c
parent476bacc27671de92e8fdbc5b2a904bbf8bc80377 (diff)
Shift some code around.
Diffstat (limited to 'src/compile/types.c')
-rw-r--r--src/compile/types.c5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/compile/types.c b/src/compile/types.c
index 9b7cf4df..e3786c99 100644
--- a/src/compile/types.c
+++ b/src/compile/types.c
@@ -5,10 +5,7 @@
#include "../stdlib/datatypes.h"
#include "../stdlib/text.h"
#include "../stdlib/util.h"
-
-static Text_t quoted_str(const char *str) { return Text$quoted(Text$from_str(str), false, Text("\"")); }
-
-static inline Text_t quoted_text(Text_t text) { return Text$quoted(text, false, Text("\"")); }
+#include "text.h"
public
Text_t compile_type(type_t *t) {