diff options
author | 2015-04-23 14:22:42 +0200 | |
---|---|---|
committer | 2015-04-23 14:54:29 +0200 | |
commit | 915c8f15965fe8e7ee9d02a663fd890ef80539ad (patch) | |
tree | fb99ec9a2cbc7f4ee9a5f59656816fa3d34c6e3a /plugins | |
parent | 0a2dfa5e5d17ccf58328432888dff345ef0bf5e6 (diff) |
Using tclZEROMSG instead of tclZERO in several places.
Diffstat (limited to 'plugins')
-rw-r--r-- | plugins/cc/cctac.ml | 4 | ||||
-rw-r--r-- | plugins/omega/coq_omega.ml | 2 |
2 files changed, 3 insertions, 3 deletions
diff --git a/plugins/cc/cctac.ml b/plugins/cc/cctac.ml index 8884aef1c..05f4c4903 100644 --- a/plugins/cc/cctac.ml +++ b/plugins/cc/cctac.ml @@ -302,9 +302,9 @@ let rec proof_tac p : unit Proofview.tactic = Tacticals.New.tclFIRST [Tacticals.New.tclTHEN (Proofview.V82.tactic (lemma2 refine)) (proof_tac p2); reflexivity; - Proofview.tclZERO (UserError ("Congruence" , + Tacticals.New.tclZEROMSG (Pp.str - "I don't know how to handle dependent equality")))]] + "I don't know how to handle dependent equality")]] | Inject (prf,cstr,nargs,argind) -> let ti=constr_of_term prf.p_lhs in let tj=constr_of_term prf.p_rhs in diff --git a/plugins/omega/coq_omega.ml b/plugins/omega/coq_omega.ml index 37428c39d..4e2696dfd 100644 --- a/plugins/omega/coq_omega.ml +++ b/plugins/omega/coq_omega.ml @@ -1462,7 +1462,7 @@ let coq_omega = let path = simplify_strong (new_id,new_var_num,display_var) system in if !display_action_flag then display_action display_var path; Tacticals.New.tclTHEN prelude (replay_history tactic_normalisation path) - with NO_CONTRADICTION -> Proofview.tclZERO (UserError ("" , Pp.str"Omega can't solve this system")) + with NO_CONTRADICTION -> Tacticals.New.tclZEROMSG (Pp.str"Omega can't solve this system") end end |