mirror of
https://github.com/Z3Prover/z3
synced 2025-04-23 17:15:31 +00:00
Ensure that Z3 uses the correct SMT-LIB2 syntax for push
and pop
(#4495)
* When pretty-printing SMTLIB2, ensure that Z3 uses the correct syntax for 'push' Signed-off-by: Andrew V. Jones <andrew.jones@vector.com> * When pretty-printing SMTLIB2, ensure that Z3 uses the correct syntax for 'pop' Signed-off-by: Andrew V. Jones <andrew.jones@vector.com>
This commit is contained in:
parent
0bc33e9c9d
commit
a23ca1792b
6 changed files with 11 additions and 11 deletions
|
@ -90,7 +90,7 @@ private:
|
|||
void fuzz_round(unsigned& num_rounds, unsigned lvl) {
|
||||
unsigned num_rounds2 = 0;
|
||||
lbool is_sat = l_true;
|
||||
std::cout << "(push)\n";
|
||||
std::cout << "(push 1)\n";
|
||||
ctx.push();
|
||||
unsigned r = 0;
|
||||
while (is_sat == l_true && r <= num_rounds + 1) {
|
||||
|
@ -105,7 +105,7 @@ private:
|
|||
num_rounds = r;
|
||||
std::cout << "; number of rounds: " << num_rounds << " level: " << lvl << "\n";
|
||||
ctx.pop(1);
|
||||
std::cout << "(pop)\n";
|
||||
std::cout << "(pop 1)\n";
|
||||
}
|
||||
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue