3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2026-03-04 20:50:23 +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

@ -5,6 +5,7 @@
#include "nat_set.h"
#include "stream_buffer.h"
#include "obj_hashtable.h"
#include "reg_decl_plugins.h"
class partition {
public:
@ -723,7 +724,7 @@ public:
void parse_file(char const* file_path, char const* file_tmp) {
smtlib::parser* parser = smtlib::parser::create(m_mgr);
m_mgr.register_decl_plugins();
reg_decl_plugins(m_mgr);
parser->initialize_smtlib();
if (!parser->parse_file(file_path)) {