mirror of
https://github.com/Z3Prover/z3
synced 2025-04-29 20:05:51 +00:00
This commit is contained in:
parent
c230d89a3a
commit
a10de2e975
3 changed files with 5 additions and 5 deletions
|
@ -73,10 +73,10 @@ bool zstring::is_escape_char(char const *& s, unsigned& result) {
|
|||
return false;
|
||||
}
|
||||
|
||||
zstring::zstring(char const* s) {
|
||||
zstring::zstring(char const* s, bool from_input) {
|
||||
while (*s) {
|
||||
unsigned ch = 0;
|
||||
if (is_escape_char(s, ch)) {
|
||||
if (from_input && is_escape_char(s, ch)) {
|
||||
m_buffer.push_back(ch);
|
||||
}
|
||||
else {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue