3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-23 09:05:31 +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:
Nikolaj Bjorner 2016-09-22 19:53:48 -07:00
parent 092c52e5b7
commit b758a7a508

View file

@ -388,7 +388,10 @@ expr_pattern_match::initialize(char const * spec_string) {
std::istringstream is(spec_string);
cmd_context ctx(true, &m_manager);
bool ps = ctx.print_success_enabled();
ctx.set_print_success(false);
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 end = ctx.end_assertions();