fix(core:{odin,c}/tokenizer): Don't error on valid \uE000 codepoint
This commit is contained in:
1 parent
f56ac466c3
commit
1f2875e939
2 files changed
+2
-2
No files matched your search
@@ -291,7 +291,7 @@ scan_escape :: proc(t: ^Tokenizer) -> bool {
|
||||
n -= 1
|
||||
}
|
||||
|
||||
if x > max || 0xd800 <= x && x <= 0xe000 {
|
||||
if x > max || 0xd800 <= x && x <= 0xdfff {
|
||||
error_offset(t, offset, "escape sequence is an invalid Unicode code point")
|
||||
return false
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user