Skip to content

Commit

Permalink
check engine configuration for unsupported engines #4898
Browse files Browse the repository at this point in the history
Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
  • Loading branch information
NikolajBjorner committed Dec 18, 2020
1 parent 7ce1c38 commit 8521d2c
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions src/muz/base/dl_context.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -825,6 +825,12 @@ namespace datalog {
else if (e == symbol("ddnf")) {
m_engine_type = DDNF_ENGINE;
}
else if (e == symbol("auto-config")) {

}
else {
throw default_exception("unsupported datalog engine type");
}

if (m_engine_type == LAST_ENGINE) {
expr_fast_mark1 mark;
Expand Down

0 comments on commit 8521d2c

Please sign in to comment.