Skip to content

Commit

Permalink
fix crash when parsing datalog format
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Nov 21, 2020
1 parent 299e178 commit 065e065
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/shell/datalog_frontend.cpp
Expand Up @@ -23,6 +23,7 @@ Revision History:
#include "util/stopwatch.h"
#include "smt/params/smt_params.h"
#include "ast/arith_decl_plugin.h"
#include "ast/reg_decl_plugins.h"
#include "muz/rel/dl_compiler.h"
#include "muz/transforms/dl_mk_filter_rules.h"
#include "muz/rel/dl_finite_product_relation.h"
Expand Down Expand Up @@ -122,6 +123,7 @@ unsigned read_datalog(char const * file) {
IF_VERBOSE(1, verbose_stream() << "Z3 Datalog Engine\n";);
smt_params s_params;
ast_manager m;
reg_decl_plugins(m);
datalog::register_engine re;
g_overall_time.start();
register_on_timeout_proc(on_timeout);
Expand Down

0 comments on commit 065e065

Please sign in to comment.