aboutsummaryrefslogtreecommitdiff
path: root/printing/printer.ml
diff options
context:
space:
mode:
authorArnaud Spiwack2015-03-24 15:52:15 +0100
committerArnaud Spiwack2015-03-31 11:28:18 +0200
commit721e4b7bf963fa6541ecf66bb3643f7388dca896 (patch)
treeb392566f45a29df3cdcea930db67851527758e4e /printing/printer.ml
parent82abccdc576e3eff3adb617e90fc9c4ececae329 (diff)
Better formatting of messages in proofs.
Diffstat (limited to 'printing/printer.ml')
-rw-r--r--printing/printer.ml13
1 files changed, 9 insertions, 4 deletions
diff --git a/printing/printer.ml b/printing/printer.ml
index 3ef009e1b5..467395c92c 100644
--- a/printing/printer.ml
+++ b/printing/printer.ml
@@ -630,10 +630,15 @@ 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." ++
- (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
+ let end_cmd =
+ strbrk "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 ()
+ in
+ msg_info end_cmd;
+ pr_subgoals ~pr_first:false None bsigma seeds shelf [] bgoals
end
| _ -> pr_subgoals None sigma seeds shelf stack goals
end