diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-04-20 15:18:20 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-04-20 15:18:20 -0400 |
| commit | b7881a480f715d64ae88ee6aac992503f9bc73c8 (patch) | |
| tree | 4de824a79d032b26378074e29844046197dd3e16 | |
| parent | 8991898a2d74f4b63747b0c337c514386647ea7f (diff) | |
Bugfix for enum num types
| -rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -798,7 +798,7 @@ CORD expr_as_text(env_t *env, CORD expr, type_t *t, CORD color) } case NumType: { CORD name = type_to_cord(t); - return CORD_asprintf("%r$as_text(stack(%r), %r, &$Num%r)", name, expr, color, name); + return CORD_asprintf("%r$as_text(stack(%r), %r, &$%r)", name, expr, color, name); } case TextType: { const char *lang = Match(t, TextType)->lang; |
