aboutsummaryrefslogtreecommitdiff
path: root/proofs/proof_bullet.ml
diff options
context:
space:
mode:
authorGaëtan Gilbert2020-04-16 16:33:43 +0200
committerGaëtan Gilbert2020-04-16 16:33:43 +0200
commit0754dfc001218a8124609418e58896ef18d6b6cf (patch)
treecc635dc3916971d0615924367cc314226148d55a /proofs/proof_bullet.ml
parent35e363f988e941e710b4e24cd638233383275bd7 (diff)
parent38aa25757957e9e9f879509605f06ada5992ca36 (diff)
Merge PR #11999: [proof] Merge `Proof_global` into `Declare`
Reviewed-by: Matafou Ack-by: SkySkimmer Reviewed-by: ppedrot
Diffstat (limited to 'proofs/proof_bullet.ml')
-rw-r--r--proofs/proof_bullet.ml5
1 files changed, 1 insertions, 4 deletions
diff --git a/proofs/proof_bullet.ml b/proofs/proof_bullet.ml
index f619bc86a1..41cb7399da 100644
--- a/proofs/proof_bullet.ml
+++ b/proofs/proof_bullet.ml
@@ -191,11 +191,8 @@ let put p b =
let suggest p =
(current_behavior ()).suggest p
-(* Better printing for bullet exceptions *)
-exception SuggestNoSuchGoals of int * Proof.t
-
let _ = CErrors.register_handler begin function
- | SuggestNoSuchGoals(n,proof) ->
+ | Proof.SuggestNoSuchGoals(n,proof) ->
let suffix = suggest proof in
Some (Pp.(str "No such " ++ str (CString.plural n "goal") ++ str "." ++
pr_non_empty_arg (fun x -> x) suffix))