aboutsummaryrefslogtreecommitdiff
path: root/printing/printer.ml
diff options
context:
space:
mode:
authorPierre Courtieu2015-01-08 16:59:47 +0100
committerPierre Courtieu2015-01-08 16:59:57 +0100
commitb92fff621cce1576c93fab9276fb41ea85e10982 (patch)
treed6e0c1964b274c9b00339452d77468f48ebe2794 /printing/printer.ml
parent448bf4529c5766e98367345076d00e64e25db7bf (diff)
Fixed and extend bullet related info/error messages. + doc.
Had to put some hook in the handler of Proofview.NoSuchgoals. Documentation updated. CHANGE updated.
Diffstat (limited to 'printing/printer.ml')
-rw-r--r--printing/printer.ml7
1 files changed, 4 insertions, 3 deletions
diff --git a/printing/printer.ml b/printing/printer.ml
index 38b5e0bfdd..47cf2ac1f3 100644
--- a/printing/printer.ml
+++ b/printing/printer.ml
@@ -626,9 +626,10 @@ let pr_open_subgoals ?(proof=Proof_global.give_me_the_proof ()) () =
fnl ()
++ pr_subgoals ~pr_first:false None bsigma seeds [] [] shelf
| _ , _, _ ->
- msg_info (str "This subproof is complete, but there are still unfocused goals.");
- fnl ()
- ++ pr_subgoals ~pr_first:false None bsigma seeds shelf [] bgoals
+ msg_info (str "This subproof is complete, but there are still unfocused goals." ++
+ (match Proof_global.Bullet.suggest p
+ with None -> str"" | Some s -> fnl () ++ str s));
+ fnl () ++ pr_subgoals ~pr_first:false None bsigma seeds shelf [] bgoals
end
| _ -> pr_subgoals None sigma seeds shelf stack goals
end