This commit is contained in:
Jeroen van Rijn
2025-05-23 17:07:08 +02:00
parent 3d60b219c1
commit 8b657379f3

View File

@@ -449,7 +449,7 @@ scan_string :: proc(s: ^Scanner, quote: rune) -> (n: int) {
ch := advance(s)
for ch != quote {
if ch == '\n' || ch < 0 {
error(s, "literal no terminated")
error(s, "literal not terminated")
return
}
if ch == '\\' {