diff options
| author | Kevin Watters <kevinwatters@gmail.com> | 2019-03-25 09:23:46 -0400 |
|---|---|---|
| committer | Kevin Watters <kevinwatters@gmail.com> | 2019-03-25 09:23:46 -0400 |
| commit | e6f9b4fb11285c5ceea3b3cc7cee26aa9f5ae3d2 (patch) | |
| tree | f7727e60f800c094f643336ee00e82b7dbc2b90d /core/encoding/json/tokenizer.odin | |
| parent | b978959fae1c7449f24706fb3e33630b617a73f0 (diff) | |
Fix some -vet warnings; change import to core:math/bits
Diffstat (limited to 'core/encoding/json/tokenizer.odin')
| -rw-r--r-- | core/encoding/json/tokenizer.odin | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/core/encoding/json/tokenizer.odin b/core/encoding/json/tokenizer.odin index dd1704ba7..f9da8437e 100644 --- a/core/encoding/json/tokenizer.odin +++ b/core/encoding/json/tokenizer.odin @@ -436,8 +436,8 @@ is_valid_string_literal :: proc(s: string, spec: Specification) -> bool { i += 5; for j := 0; j < 4; j += 1 { - c := hex[j]; - switch c { + c2 := hex[j]; + switch c2 { case '0'..'9', 'a'..'z', 'A'..'Z': // Okay case: |