Fix caret position for errors with utf source

This commit is contained in:
Mathias Baumann
2020-05-25 14:27:03 +02:00
parent 7a6ad61583
commit 7f3d437ffe
7 changed files with 31 additions and 4 deletions
+2
View File
@@ -38,4 +38,6 @@ inline bool validateUTF8(std::string const& _input)
return validateUTF8(_input, invalidPos);
}
size_t numCodepoints(std::string const& _utf8EncodedInput);
}