mirror of
https://github.com/Z3Prover/z3
synced 2025-04-24 01:25:31 +00:00
Issue #407 build break
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
8b66411c05
commit
0e6aaf0211
3 changed files with 10 additions and 14 deletions
|
@ -1422,21 +1422,15 @@ bool theory_seq::canonize(expr* e, expr_ref_vector& es, dependency*& eqs) {
|
|||
canonize(e1, es, eqs);
|
||||
e3 = e2;
|
||||
change = true;
|
||||
continue;
|
||||
}
|
||||
if (m_util.str.is_empty(e3)) {
|
||||
else if (m_util.str.is_empty(e3)) {
|
||||
return true;
|
||||
}
|
||||
|
||||
expr_ref e4 = expand(e3, eqs);
|
||||
change |= e4 != e3;
|
||||
if (m_util.str.is_concat(e4) || m_util.str.is_empty(e4)) {
|
||||
e3 = e4;
|
||||
continue;
|
||||
}
|
||||
else {
|
||||
es.push_back(e4);
|
||||
break;
|
||||
expr_ref e4 = expand(e3, eqs);
|
||||
change |= e4 != e3;
|
||||
m_util.str.get_concat(e4, es);
|
||||
break;
|
||||
}
|
||||
}
|
||||
return change;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue