diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-06-17 17:31:50 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-06-17 17:31:50 -0400 |
| commit | 1621968fc82f17708c1d5b6f5bd65ba2244269a3 (patch) | |
| tree | b8bb5aec14747e9f24a3c62c25a6a54addc2eb77 /compile.c | |
| parent | eb2a9027b0eb0ebb8e94e9ce3ed8571881bfdac6 (diff) | |
Fix issue with bitfields
Diffstat (limited to 'compile.c')
| -rw-r--r-- | compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -850,7 +850,7 @@ CORD expr_as_text(env_t *env, CORD expr, type_t *t, CORD color) { switch (t->tag) { case MemoryType: return CORD_asprintf("Memory$as_text(stack(%r), %r, &$Memory)", expr, color); - case BoolType: return CORD_asprintf("Bool$as_text(stack(%r), %r, &$Bool)", expr, color); + case BoolType: return CORD_asprintf("Bool$as_text((Bool_t[1]){%r}, %r, &$Bool)", expr, color); case CStringType: return CORD_asprintf("CString$as_text(stack(%r), %r, &$CString)", expr, color); case IntType: { CORD name = type_to_cord(t); |
