diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-11-19 13:41:52 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-11-19 13:41:52 -0500 |
| commit | 2c904ff1737e34008f7a6c5d4b072d87a45a3fbc (patch) | |
| tree | ac4c430677042a7ea92b92be5e5afa6e5a4ef27d /stdlib/integers.c | |
| parent | 4720ca7a5f3ad4bf2a04a6d28d671f03162149a9 (diff) | |
Go back to stringifying integers/num32s/bytes without the type
constructor.
Diffstat (limited to 'stdlib/integers.c')
| -rw-r--r-- | stdlib/integers.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/stdlib/integers.c b/stdlib/integers.c index 1973fa34..48ab6019 100644 --- a/stdlib/integers.c +++ b/stdlib/integers.c @@ -376,7 +376,7 @@ public const TypeInfo_t Int$info = { public Text_t KindOfInt ## $as_text(const c_type *i, bool colorize, const TypeInfo_t *type) { \ (void)type; \ if (!i) return Text(#KindOfInt); \ - return Text$format(colorize ? "\x1b[36m" #KindOfInt "\x1b[m(\x1b[35m" fmt "\x1b[m)" : #KindOfInt "(" fmt ")", *i); \ + return Text$format(colorize ? "\x1b[35m" fmt "\x1b[m" : fmt, *i); \ } \ public PUREFUNC int32_t KindOfInt ## $compare(const c_type *x, const c_type *y, const TypeInfo_t *type) { \ (void)type; \ |
