aboutsummaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-02-17 19:52:37 -0500
committerBruce Hill <bruce@bruce-hill.com>2024-02-17 19:52:37 -0500
commitdd2de3166653c1bf0d33d5872791ae6fbe8e2998 (patch)
treee7a8818fa1e7663dd8b921440a32e8ed1e6148df /compile.c
parenta09a8339e78923688440e6b303e49eb7c6a02b29 (diff)
Fix up USE_COLOR
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/compile.c b/compile.c
index 09d8b96f..c4c126ad 100644
--- a/compile.c
+++ b/compile.c
@@ -422,8 +422,8 @@ CORD compile_type_info(env_t *env, type_t *t)
{
switch (t->tag) {
case BoolType: return "&Bool_type";
- case IntType: return CORD_asprintf("&Int%ld_type", Match(t, IntType)->bits);
- case NumType: return CORD_asprintf("&Num%ld_type", Match(t, NumType)->bits);
+ case IntType: return CORD_asprintf("&Int%ld_type.type", Match(t, IntType)->bits);
+ case NumType: return CORD_asprintf("&Num%ld_type.type", Match(t, NumType)->bits);
case StringType: return CORD_all("&", Match(t, StringType)->dsl ? Match(t, StringType)->dsl : "Str", "_type");
case StructType: return CORD_all("&", Match(t, StructType)->name, "_type");
case EnumType: return CORD_all("&", Match(t, EnumType)->name, "_type");