From dd2de3166653c1bf0d33d5872791ae6fbe8e2998 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 17 Feb 2024 19:52:37 -0500 Subject: Fix up USE_COLOR --- compile.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'compile.c') 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"); -- cgit v1.2.3