diff options
Diffstat (limited to 'src/trace')
-rw-r--r-- | src/trace/coqInterface.ml | 1 | ||||
-rw-r--r-- | src/trace/coqInterface.mli | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/src/trace/coqInterface.ml b/src/trace/coqInterface.ml index a8af566..8b91225 100644 --- a/src/trace/coqInterface.ml +++ b/src/trace/coqInterface.ml @@ -150,6 +150,7 @@ let set_evars_tac noc = (* Other differences between the two versions of Coq *) type constr_expr = Constrexpr.constr_expr let error s = CErrors.user_err (Pp.str s) +let anomaly s = CErrors.anomaly (Pp.str s) let warning n s = CWarnings.create ~name:n ~category:"SMTCoq plugin" Pp.str s let extern_constr c = Constrextern.extern_constr true Environ.empty_env Evd.empty (EConstr.of_constr c) diff --git a/src/trace/coqInterface.mli b/src/trace/coqInterface.mli index 86fdd95..453bce1 100644 --- a/src/trace/coqInterface.mli +++ b/src/trace/coqInterface.mli @@ -98,6 +98,7 @@ val set_evars_tac : constr -> tactic (* Other differences between the two versions of Coq *) type constr_expr = Constrexpr.constr_expr val error : string -> 'a +val anomaly : string -> 'a val warning : string -> string -> unit val extern_constr : constr -> constr_expr val destruct_rel_decl : (constr, types) Context.Rel.Declaration.pt -> name * types |