mirror of
https://github.com/Z3Prover/z3
synced 2025-05-11 09:44:43 +00:00
bmc/farkas/smt2 pattern printing
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
27a5bd5b83
commit
89ca9aa5bd
4 changed files with 22 additions and 4 deletions
|
@ -602,12 +602,22 @@ class smt_printer {
|
|||
}
|
||||
}
|
||||
|
||||
m_out << " :pat { ";
|
||||
if (m_is_smt2) {
|
||||
m_out << " :pattern ( ";
|
||||
}
|
||||
else {
|
||||
m_out << " :pat { ";
|
||||
}
|
||||
for (unsigned j = 0; j < pat->get_num_args(); ++j) {
|
||||
print_no_lets(pat->get_arg(j));
|
||||
m_out << " ";
|
||||
}
|
||||
m_out << "}";
|
||||
if (m_is_smt2) {
|
||||
m_out << ")";
|
||||
}
|
||||
else {
|
||||
m_out << "}";
|
||||
}
|
||||
}
|
||||
if (m_is_smt2 && q->get_num_patterns() > 0) {
|
||||
m_out << ")";
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue