diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 21:21:42 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-04-06 21:21:42 -0400 |
| commit | f4020db2f0d772481ba71edf78fbb65575badc00 (patch) | |
| tree | 3062b7645bd087dcdd041620763c29f8c0494c77 /src | |
| parent | be69dba58e981278eda2f72a421e28020b602aca (diff) | |
Fix for empty nums
Diffstat (limited to 'src')
| -rw-r--r-- | src/compile.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/compile.c b/src/compile.c index 4d722321..b49f4c49 100644 --- a/src/compile.c +++ b/src/compile.c @@ -2507,7 +2507,7 @@ CORD compile_empty(type_t *t) return empty_pointed == CORD_EMPTY ? CORD_EMPTY : CORD_all(ptr->is_stack ? "stack(" : "heap(", empty_pointed, ")"); } case NumType: { - return Match(t, NumType)->bits == TYPE_NBITS32 ? "Num32(0.0f)" : "Num64(0.0)" ; + return Match(t, NumType)->bits == TYPE_NBITS32 ? "N32(0.0f)" : "N64(0.0)" ; } case StructType: { auto struct_ = Match(t, StructType); |
