3
0
Fork 0
mirror of https://github.com/Z3Prover/z3 synced 2025-04-10 19:27:06 +00:00

check engine configuration for unsupported engines #4898

Signed-off-by: Nikolaj Bjorner <nbjorner@microsoft.com>
This commit is contained in:
Nikolaj Bjorner 2020-12-18 14:38:42 -08:00
parent 7ce1c38544
commit 8521d2caaa

View file

@ -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;