aboutsummaryrefslogtreecommitdiffhomepage
path: root/toplevel/coqloop.ml
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2016-12-05 17:56:22 +0100
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-03-21 15:51:39 +0100
commit3fc02bb2034a648c9c27b76a9e7b4e02a78e55b9 (patch)
treecf3856edc9b24a75d30f465e6e29a42962329a4a /toplevel/coqloop.ml
parenta8ec2dc5c330ded1ba400ef202c57e68d2533312 (diff)
[pp] Move terminal-specific tagging to the toplevel.
Previously, tags were associated to terminal styles, which doesn't make sense on terminal-free pretty printing scenarios. This commit moves tag interpretation to the toplevel terminal handling module `Topfmt`.
Diffstat (limited to 'toplevel/coqloop.ml')
-rw-r--r--toplevel/coqloop.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/toplevel/coqloop.ml b/toplevel/coqloop.ml
index 43807c1ca..0cc6ca317 100644
--- a/toplevel/coqloop.ml
+++ b/toplevel/coqloop.ml
@@ -252,7 +252,7 @@ let print_toplevel_error (e, info) =
else mt ()
else print_location_in_file loc
in
- let hdr msg = hov 0 (tag Ppstyle.error_tag (str "Error:") ++ spc () ++ msg) in
+ let hdr msg = hov 0 (Topfmt.err_hdr ++ msg) in
locmsg ++ hdr (CErrors.iprint (e, info))
(* Read the input stream until a dot is encountered *)