aboutsummaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-09-02 19:07:51 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-09-02 19:07:51 -0400
commit00a31178030c4a0371673b2e6c7dc33c1a89e45c (patch)
treeb7e94ee0e0bff48f57a970f5bcaac4336b740762 /compile.c
parent94761d9a5a2460b5a43489526e1f404611ddb750 (diff)
Bugfix
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 50e39fe8..b72b6c22 100644
--- a/compile.c
+++ b/compile.c
@@ -628,7 +628,7 @@ CORD compile_statement(env_t *env, ast_t *ast)
case LangDef: {
auto def = Match(ast, LangDef);
CORD_appendf(&env->code->typeinfos, "public const TypeInfo %r%s = {%zu, %zu, {.tag=TextInfo, .TextInfo={%r}}};\n",
- namespace_prefix(env->libname, env->namespace), def->name, sizeof(CORD), __alignof__(CORD),
+ namespace_prefix(env->libname, env->namespace), def->name, sizeof(Text_t), __alignof__(Text_t),
CORD_quoted(def->name));
compile_namespace(env, def->name, def->namespace);
return CORD_EMPTY;