From d0f87913e2133b8101faef6ea76e0853d4da524b Mon Sep 17 00:00:00 2001 From: gingerBill Date: Mon, 2 Dec 2024 10:49:49 +0000 Subject: [PATCH] Fix #4549 --- core/encoding/json/tokenizer.odin | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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