This commit is contained in:
gingerBill
2024-12-02 10:49:49 +00:00
parent 03a53ccce2
commit d0f87913e2

View File

@@ -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