diff options
| author | gingerBill <bill@gingerbill.org> | 2024-12-02 10:49:49 +0000 |
|---|---|---|
| committer | gingerBill <bill@gingerbill.org> | 2024-12-02 10:49:49 +0000 |
| commit | d0f87913e2133b8101faef6ea76e0853d4da524b (patch) | |
| tree | 17e198408e044cae78f190cd0fb936b6a4e0e146 /core/encoding/json | |
| parent | 03a53ccce2ada65c3179328ddcb00bb2b990d3db (diff) | |
Fix #4549
Diffstat (limited to 'core/encoding/json')
| -rw-r--r-- | core/encoding/json/tokenizer.odin | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/core/encoding/json/tokenizer.odin b/core/encoding/json/tokenizer.odin index 5c20a2cc3..1a57ba6f0 100644 --- a/core/encoding/json/tokenizer.odin +++ b/core/encoding/json/tokenizer.odin @@ -485,7 +485,7 @@ is_valid_string_literal :: proc(str: string, spec: Specification) -> bool { case '"': // okay case '\'': - if spec != .JSON { + if spec == .JSON { return false } // okay |