Update after Dolmen change

Dolmen Introduced a new 'Clause' statement, which has to be taken into
account in the test executable of msat.
This commit is contained in:
Guillaume Bury 2017-08-09 20:54:53 +02:00
parent 607ec3f043
commit 0119d04899

View file

@ -73,6 +73,10 @@ module Make
match s.Dolmen.Statement.descr with match s.Dolmen.Statement.descr with
| Dolmen.Statement.Def (id, t) -> T.def id t | Dolmen.Statement.Def (id, t) -> T.def id t
| Dolmen.Statement.Decl (id, t) -> T.decl id t | Dolmen.Statement.Decl (id, t) -> T.decl id t
| Dolmen.Statement.Clause l ->
let cnf = T.antecedent (Dolmen.Term.or_ l) in
hyps := cnf @ !hyps;
S.assume cnf
| Dolmen.Statement.Consequent t -> | Dolmen.Statement.Consequent t ->
let cnf = T.consequent t in let cnf = T.consequent t in
hyps := cnf @ !hyps; hyps := cnf @ !hyps;