Generate correct C literals for non-ascii characters
This commit is contained in:
parent
cb5ecbd491
commit
070dc76050
4 changed files with 35 additions and 26 deletions
|
|
@ -11,7 +11,7 @@ namespace util {
|
|||
void str_replace(std::string *input, const std::string &search,
|
||||
const std::string &replace);
|
||||
std::string escape_string(std::string input);
|
||||
std::string escape_char(char character);
|
||||
std::string escape_char(uint32_t character);
|
||||
|
||||
} // namespace util
|
||||
} // namespace tree_sitter
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue