aboutsummaryrefslogtreecommitdiff
path: root/src/stdlib/nums.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-04-30 20:42:31 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-04-30 20:42:31 -0400
commitdfedf3f2bb434065da3ddbc931e87a4017535f80 (patch)
tree6c7d9e5e35fd4fd612d51285dcae7d6c06b8838a /src/stdlib/nums.c
parent46818674d3588dd15ebca5cb7be4afa8cd485cfe (diff)
Update compiler to use randomly generated unique-per-file symbol
suffixes instead of needing to rename symbols with objcopy
Diffstat (limited to 'src/stdlib/nums.c')
-rw-r--r--src/stdlib/nums.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/stdlib/nums.c b/src/stdlib/nums.c
index 3213fd2f..34fbb162 100644
--- a/src/stdlib/nums.c
+++ b/src/stdlib/nums.c
@@ -105,7 +105,7 @@ public OptionalNum_t Num$parse(Text_t text) {
if (end > str && end[0] == '\0')
return d;
else
- return nan("null");
+ return nan("none");
}
static bool Num$is_none(const void *n, const TypeInfo_t *info)
@@ -210,7 +210,7 @@ public OptionalNum32_t Num32$parse(Text_t text) {
if (end > str && end[0] == '\0')
return d;
else
- return nan("null");
+ return nan("none");
}
static bool Num32$is_none(const void *n, const TypeInfo_t *info)