mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
fixes for unicode
This commit is contained in:
parent
60cc9d8182
commit
6d99a8f0cc
3 changed files with 11 additions and 3 deletions
|
@ -45,7 +45,7 @@ bool zstring::is_escape_char(char const *& s, unsigned& result) {
|
|||
unsigned d;
|
||||
if (*s == '\\' && *(s+1) == 'u' && *(s+2) == '{') {
|
||||
result = 0;
|
||||
for (unsigned i = 0; i < 5; ++i) {
|
||||
for (unsigned i = 0; i < 6; ++i) {
|
||||
if (is_hex_digit(*(s+3+i), d)) {
|
||||
result = 16*result + d;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue