aboutsummaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-02 19:49:52 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-02 19:49:52 -0400
commit6d7a359f8f7757b1e23fa7c0feaf535541dcc84a (patch)
tree4dfc03e0c2b05306195c3fd645e81796714f30e5 /compile.c
parent80a09e6dba7042271cba5372e31c2e5e86e58215 (diff)
Bugfix some text replacement things
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/compile.c b/compile.c
index 10a345ce..82963066 100644
--- a/compile.c
+++ b/compile.c
@@ -3256,7 +3256,7 @@ CORD compile_statement_typedefs(env_t *env, ast_t *ast)
}
case LangDef: {
auto def = Match(ast, LangDef);
- return CORD_all("typedef CORD ", namespace_prefix(env->libname, env->namespace), def->name, "_t;\n");
+ return CORD_all("typedef Text_t ", namespace_prefix(env->libname, env->namespace), def->name, "_t;\n");
}
case Lambda: {
auto lambda = Match(ast, Lambda);