diff --git a/errors/errors.odin b/errors/errors.odin index e60aea9..9600960 100644 --- a/errors/errors.odin +++ b/errors/errors.odin @@ -1,3 +1,4 @@ +#+feature global-context /* This file is part of runic. diff --git a/runic/rune.odin b/runic/rune.odin index 1ad94b7..96416e2 100644 --- a/runic/rune.odin +++ b/runic/rune.odin @@ -1454,7 +1454,7 @@ parse_rune :: proc( ) errors.wrap(mem_err) or_return - d_map[d_key] = strconv.append_int( + d_map[d_key] = strconv.write_int( buf[:], d_v, 10, @@ -1467,7 +1467,7 @@ parse_rune :: proc( ) errors.wrap(mem_err) or_return - d_map[d_key] = strconv.append_float( + d_map[d_key] = strconv.write_float( buf[:], d_v, 'f',