mirror of
https://github.com/Ed94/Odin.git
synced 2026-08-04 22:58:46 +00:00
Fix #4549
This commit is contained in:
@@ -485,7 +485,7 @@ is_valid_string_literal :: proc(str: string, spec: Specification) -> bool {
|
|||||||
case '"':
|
case '"':
|
||||||
// okay
|
// okay
|
||||||
case '\'':
|
case '\'':
|
||||||
if spec != .JSON {
|
if spec == .JSON {
|
||||||
return false
|
return false
|
||||||
}
|
}
|
||||||
// okay
|
// okay
|
||||||
|
|||||||
Reference in New Issue
Block a user