mirror of
https://github.com/Z3Prover/z3
synced 2025-07-20 11:22:04 +00:00
make it easier to use string literals
This commit is contained in:
parent
31b7ad3012
commit
7dd7d83a36
2 changed files with 13 additions and 1 deletions
|
@ -180,8 +180,10 @@ bool zstring::uses_unicode() const {
|
|||
|
||||
bool zstring::well_formed() const {
|
||||
for (unsigned ch : m_buffer) {
|
||||
if (ch > unicode_max_char())
|
||||
if (ch > unicode_max_char()) {
|
||||
IF_VERBOSE(0, verbose_stream() << "large character: " << ch << "\n";);
|
||||
return false;
|
||||
}
|
||||
}
|
||||
return true;
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue