aboutsummaryrefslogtreecommitdiff
path: root/core/strconv
diff options
context:
space:
mode:
authorgingerBill <bill@gingerbill.org>2023-03-16 12:43:10 +0000
committergingerBill <bill@gingerbill.org>2023-03-16 12:43:10 +0000
commit09a0dad1159385f22a624258ba43069d3e20c368 (patch)
treeed15438df8c31c5838651089d780893dce4526db /core/strconv
parent243a3f50067de8aa2dd069cbc92afc906b40bea8 (diff)
Add `contextless` to internal `parse_hex` call
Diffstat (limited to 'core/strconv')
-rw-r--r--core/strconv/strconv.odin2
1 files changed, 1 insertions, 1 deletions
diff --git a/core/strconv/strconv.odin b/core/strconv/strconv.odin
index b96dca19a..e11ce471d 100644
--- a/core/strconv/strconv.odin
+++ b/core/strconv/strconv.odin
@@ -765,7 +765,7 @@ parse_f64_prefix :: proc(str: string) -> (value: f64, nr: int, ok: bool) {
return
}
- parse_hex :: proc(s: string, mantissa: u64, exp: int, neg, trunc: bool) -> (f64, bool) {
+ parse_hex :: proc "contextless" (s: string, mantissa: u64, exp: int, neg, trunc: bool) -> (f64, bool) {
info := &_f64_info
mantissa, exp := mantissa, exp