mirror of
https://github.com/Z3Prover/z3
synced 2025-06-19 20:33:38 +00:00
disable smt-lib success printing when locally parsing database of common pattern rules. Issue #743
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
092c52e5b7
commit
b758a7a508
1 changed files with 3 additions and 0 deletions
|
@ -388,7 +388,10 @@ expr_pattern_match::initialize(char const * spec_string) {
|
||||||
|
|
||||||
std::istringstream is(spec_string);
|
std::istringstream is(spec_string);
|
||||||
cmd_context ctx(true, &m_manager);
|
cmd_context ctx(true, &m_manager);
|
||||||
|
bool ps = ctx.print_success_enabled();
|
||||||
|
ctx.set_print_success(false);
|
||||||
VERIFY(parse_smt2_commands(ctx, is));
|
VERIFY(parse_smt2_commands(ctx, is));
|
||||||
|
ctx.set_print_success(ps);
|
||||||
|
|
||||||
ptr_vector<expr>::const_iterator it = ctx.begin_assertions();
|
ptr_vector<expr>::const_iterator it = ctx.begin_assertions();
|
||||||
ptr_vector<expr>::const_iterator end = ctx.end_assertions();
|
ptr_vector<expr>::const_iterator end = ctx.end_assertions();
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue