mirror of
https://github.com/Z3Prover/z3
synced 2025-05-06 15:25:46 +00:00
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
parent
6a50f10b8b
commit
18374aa12a
4 changed files with 8 additions and 6 deletions
|
@ -62,8 +62,9 @@ void dl_context_saturate_file(params_ref & params, const char * f) {
|
|||
ctx.updt_params(params);
|
||||
|
||||
datalog::parser * parser = datalog::parser::create(ctx, m);
|
||||
if (!parser->parse_file(f)) {
|
||||
if (!parser || !parser->parse_file(f)) {
|
||||
warning_msg("ERROR: failed to parse file");
|
||||
dealloc(parser);
|
||||
return;
|
||||
}
|
||||
dealloc(parser);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue