浏览代码

Add `contextless` to internal `parse_hex` call

gingerBill 2 年之前
父节点
当前提交
09a0dad115
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      core/strconv/strconv.odin

+ 1 - 1
core/strconv/strconv.odin

@@ -765,7 +765,7 @@ parse_f64_prefix :: proc(str: string) -> (value: f64, nr: int, ok: bool) {
 		return
 		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
 		info := &_f64_info
 
 
 		mantissa, exp := mantissa, exp
 		mantissa, exp := mantissa, exp