mirror of
https://github.com/odin-lang/Odin.git
synced 2026-01-03 11:42:28 +00:00
Fix #4549
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user