mirror of
https://github.com/Z3Prover/z3
synced 2025-05-05 23:05:46 +00:00
#5615 - update documentation and use non-encoded versions for ASCII characters in get_lstring
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
7f41d6140f
commit
3a3cef8fce
3 changed files with 13 additions and 7 deletions
|
@ -198,7 +198,7 @@ extern "C" {
|
|||
svector<char> buff;
|
||||
for (unsigned i = 0; i < str.length(); ++i) {
|
||||
unsigned ch = str[i];
|
||||
if (ch <= 32 || ch >= 127 || (ch == '\\' && i + 1 < str.length() && str[i+1] == 'u')) {
|
||||
if (ch == 0 || ch >= 256 || (ch == '\\' && i + 1 < str.length() && str[i+1] == 'u')) {
|
||||
buff.reset();
|
||||
buffer.push_back('\\');
|
||||
buffer.push_back('u');
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue