aboutsummaryrefslogtreecommitdiffhomepage
path: root/checker/check_stat.ml
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2016-08-18 22:32:59 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2016-08-18 22:54:28 +0200
commit411973d14a95b043f93ed6d0ca628a6a98e3c221 (patch)
treeab5c9d7a2ce31bf17bfe2138ec7c98292ac15f0e /checker/check_stat.ml
parentfa141fa1d2df2720f84a3e2c1fc4900a47f9939f (diff)
[checker] Fix/fine tune printing.
In 91ee24b4a7843793a84950379277d92992ba1651 , we discouraged direct access to the console, recommending instead to provide information to the user by means of the `Feedback.msg_*` facilities. However, we introduced a display bug in the checker printer as it is special and doesn't use the Pp facilities (likely for trust reasons), spotted by @herbelin This patch fixes this bug and performs a couple more of fine tunings in the input. However, it could be desirable to port the `checker/printer.ml` to `Pp` and use the feedback mechanism; this would allow IDEs to use the checker in a more convenient way, at the cost of trusting `Pp` (which is already a bit trusted currently) A start of that idea can be found at: https://github.com/ejgallego/coq/tree/fix_checker_printing
Diffstat (limited to 'checker/check_stat.ml')
-rw-r--r--checker/check_stat.ml3
1 files changed, 1 insertions, 2 deletions
diff --git a/checker/check_stat.ml b/checker/check_stat.ml
index f196746a5..741f53284 100644
--- a/checker/check_stat.ml
+++ b/checker/check_stat.ml
@@ -57,8 +57,7 @@ let print_context env =
(fnl() ++ str"CONTEXT SUMMARY" ++ fnl() ++
str"===============" ++ fnl() ++ fnl() ++
str "* " ++ hov 0 (pr_engagement engt ++ fnl()) ++ fnl() ++
- str "* " ++ hov 0 (pr_ax csts) ++
- fnl()));
+ str "* " ++ hov 0 (pr_ax csts)));
end
let stats () =