diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-12 00:41:49 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-12 00:41:49 -0500 |
| commit | 2c5401aaf731bba58d0db419594068ac24eda143 (patch) | |
| tree | a5eccd94ad7bd0b1a48f7005fe50356d0f261f6f /compile.c | |
| parent | 0f1913353408f46494741b05737d88156b81b7c4 (diff) | |
Deprecate Char type
Diffstat (limited to 'compile.c')
| -rw-r--r-- | compile.c | 1 |
1 files changed, 0 insertions, 1 deletions
@@ -35,7 +35,6 @@ CORD compile(ast_t *ast) case Var: return Match(ast, Var)->name; case Int: return CORD_asprintf("((Int%ld_t)%ld)", Match(ast, Int)->precision, Match(ast, Int)->i); case Num: return CORD_asprintf(Match(ast, Num)->precision == 64 ? "%g" : "%gf", Match(ast, Num)->n); - case Char: return CORD_asprintf("(char)'\\x%02X'", (int)Match(ast, Char)->c); case UnaryOp: { auto unop = Match(ast, UnaryOp); CORD expr = compile(unop->value); |
