aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar aspiwack <aspiwack@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-07-04 11:36:44 +0000
committerGravatar aspiwack <aspiwack@85f007b7-540e-0410-9357-904b9bb8a0f7>2012-07-04 11:36:44 +0000
commitd153f3da0dc05d829fb3e0c234b555e170d0c074 (patch)
treea510902b3ddff5fdaad7fffe9df4f500c4877dcc
parentb7a8ecc6c41a21885bf8dabc71098f8e2267f7da (diff)
When focused on an empty list of goal (after finishing a subproof introduced
by a bullet or a brace, for instance), the message "This subproof is complete […]" is now rendered before the list of goals. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15507 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--printing/printer.ml10
1 files changed, 1 insertions, 9 deletions
diff --git a/printing/printer.ml b/printing/printer.ml
index 1e4ef4709..d51174a42 100644
--- a/printing/printer.ml
+++ b/printing/printer.ml
@@ -431,15 +431,7 @@ let pr_open_subgoals () =
| [] -> let { Evd.it = bgoals ; sigma = bsigma } = Proof.V82.background_subgoals p in
begin match bgoals with
| [] -> pr_subgoals None sigma seeds goals
- | _ -> pr_subgoals None bsigma seeds bgoals ++ fnl () ++ fnl () ++
- str"This subproof is complete, but there are still unfocused goals."
- (* spiwack: to stay compatible with the proof general and coqide,
- I use print the message after the goal. It would be better to have
- something like:
- str"This subproof is complete, but there are still unfocused goals:"
- ++ fnl () ++ fnl () ++ pr_subgoals None bsigma bgoals
- instead. But it doesn't quite work.
- *)
+ | _ -> str"This subproof is complete, but there are still unfocused goals." ++ fnl () ++ fnl () ++ pr_subgoals None bsigma seeds bgoals
end
| _ -> pr_subgoals None sigma seeds goals
end