diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-17 19:52:37 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-17 19:52:37 -0500 |
| commit | dd2de3166653c1bf0d33d5872791ae6fbe8e2998 (patch) | |
| tree | e7a8818fa1e7663dd8b921440a32e8ed1e6148df /compile.c | |
| parent | a09a8339e78923688440e6b303e49eb7c6a02b29 (diff) | |
Fix up USE_COLOR
Diffstat (limited to 'compile.c')
| -rw-r--r-- | compile.c | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -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"); |
