3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-06-28 00:48:45 +00:00

Isolating reg_decl_plugins

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-10-24 11:27:50 -07:00
parent 69ce24a6ce
commit 641db30660
33 changed files with 140 additions and 70 deletions

View file

@ -11,6 +11,7 @@
#include "smtparser.h"
#include "lbool.h"
#include <sstream>
#include "reg_decl_plugins.h"
static void test_qe(ast_manager& m, lbool expected_outcome, expr* fml, char const* option) {
@ -52,7 +53,7 @@ static void test_qe(ast_manager& m, lbool expected_outcome, expr* fml, char cons
static void test_formula(lbool expected_outcome, char const* fml) {
ast_manager m;
m.register_decl_plugins();
reg_decl_plugins(m);
scoped_ptr<smtlib::parser> parser = smtlib::parser::create(m);
parser->initialize_smtlib();