mirror of
https://github.com/Z3Prover/z3
synced 2025-04-28 11:25:51 +00:00
Fixed parsing of | and \ (#6975)
* Give users ability to see if propagation failed * Skip propagations in the new core if they are already satisfied * Fix registration in final * Don't make it too complicated... * Fixed next_split when called in pop Made delay_units available even without quantifiers * Missing push calls before "decide"-callback * Fixed parsing of | and \ * Unit-test for parsing bug
This commit is contained in:
parent
938a89e197
commit
996b844cde
2 changed files with 74 additions and 2 deletions
|
@ -106,8 +106,13 @@ namespace smt2 {
|
|||
TRACE("scanner", tout << "new quoted symbol: " << m_id << "\n";);
|
||||
return SYMBOL_TOKEN;
|
||||
}
|
||||
escape = (c == '\\');
|
||||
m_string.push_back(c);
|
||||
else if (c != '|' && c != '\\' && escape) {
|
||||
m_string.push_back('\\');
|
||||
}
|
||||
|
||||
escape = (c == '\\') && !escape;
|
||||
if (!escape)
|
||||
m_string.push_back(c);
|
||||
next();
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue