mirror of
https://github.com/Z3Prover/z3
synced 2025-04-27 02:45:51 +00:00
escape characters in theory_str
This commit is contained in:
parent
5e37a21802
commit
11d8ffc4d4
3 changed files with 72 additions and 1 deletions
|
@ -1104,7 +1104,7 @@ namespace smt2 {
|
|||
strncpy(buf, original_token, bufsize);
|
||||
buf[bufsize] = '\0';
|
||||
TRACE("parse_string", tout << "new string constant: " << buf << " length=" << bufsize << "\n";);
|
||||
expr_stack().push_back(strutil().mk_string(buf));
|
||||
expr_stack().push_back(strutil().mk_string_with_escape_characters(buf));
|
||||
next();
|
||||
}
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue