3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-06 17:44:08 +00:00

fixed compilation bugs

Signed-off-by: Leonardo de Moura <leonardo@microsoft.com>
This commit is contained in:
Leonardo de Moura 2012-10-24 12:14:00 -07:00
parent 641db30660
commit 9e5860a30f

View file

@ -27,25 +27,25 @@ Revision History:
#include"float_decl_plugin.h"
void reg_decl_plugins(ast_manager & m) {
if (!get_plugin(get_family_id(symbol("arith")))) {
register_plugin(symbol("arith"), alloc(arith_decl_plugin));
if (!m.get_plugin(m.get_family_id(symbol("arith")))) {
m.register_plugin(symbol("arith"), alloc(arith_decl_plugin));
}
if (!get_plugin(get_family_id(symbol("bv")))) {
register_plugin(symbol("bv"), alloc(bv_decl_plugin));
if (!m.get_plugin(m.get_family_id(symbol("bv")))) {
m.register_plugin(symbol("bv"), alloc(bv_decl_plugin));
}
if (!get_plugin(get_family_id(symbol("array")))) {
register_plugin(symbol("array"), alloc(array_decl_plugin));
if (!m.get_plugin(m.get_family_id(symbol("array")))) {
m.register_plugin(symbol("array"), alloc(array_decl_plugin));
}
if (!get_plugin(get_family_id(symbol("datatype")))) {
register_plugin(symbol("datatype"), alloc(datatype_decl_plugin));
if (!m.get_plugin(m.get_family_id(symbol("datatype")))) {
m.register_plugin(symbol("datatype"), alloc(datatype_decl_plugin));
}
if (!get_plugin(get_family_id(symbol("datalog_relation")))) {
register_plugin(symbol("datalog_relation"), alloc(datalog::dl_decl_plugin));
if (!m.get_plugin(m.get_family_id(symbol("datalog_relation")))) {
m.register_plugin(symbol("datalog_relation"), alloc(datalog::dl_decl_plugin));
}
if (!get_plugin(get_family_id(symbol("seq")))) {
register_plugin(symbol("seq"), alloc(seq_decl_plugin));
if (!m.get_plugin(m.get_family_id(symbol("seq")))) {
m.register_plugin(symbol("seq"), alloc(seq_decl_plugin));
}
if (!get_plugin(get_family_id(symbol("float")))) {
register_plugin(symbol("float"), alloc(float_decl_plugin));
if (!m.get_plugin(m.get_family_id(symbol("float")))) {
m.register_plugin(symbol("float"), alloc(float_decl_plugin));
}
}