Cheating in the same way, strings!

This commit is contained in:
Nathan Braswell
2020-10-11 20:01:18 -04:00
parent 0820113c67
commit 42c2fcfb66
2 changed files with 3 additions and 2 deletions

View File

@@ -702,7 +702,7 @@ fun main(argc: int, argv: **char): int {
} else if input[i+1] == '\\' || input[i+1] == '"' {
to_ret += input[i+1]
} else {
return KPResult::Err(kpString(str("bad string escape")))
return KPResult::Err(kpString(str("bad string escape: ") + input[i+1]))
}
// skip
i++