aboutsummaryrefslogtreecommitdiffhomepage
path: root/vernac/explainErr.ml
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2016-06-01 18:31:05 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-03-21 15:47:13 +0100
commit14155762a7cd46ed6a3e9cf2a58e11ee1244b188 (patch)
tree27d17f64dae70cb2e75828b6a22c66db6451d573 /vernac/explainErr.ml
parent8c5adfd5acb883a3bc2850b6fc8c29d352a421f8 (diff)
[pp] Replace `Pp.Tag` by `Ppstyle.tag` = `string list`
This is what has always been used, so it doesn't represent a functional change. This is just a preliminary patch, but many more possibilities could be done wrt tags.
Diffstat (limited to 'vernac/explainErr.ml')
-rw-r--r--vernac/explainErr.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/vernac/explainErr.ml b/vernac/explainErr.ml
index 17897460c..148d029bc 100644
--- a/vernac/explainErr.ml
+++ b/vernac/explainErr.ml
@@ -47,7 +47,7 @@ let _ = CErrors.register_handler explain_exn_default
let wrap_vernac_error with_header (exn, info) strm =
if with_header then
- let header = Pp.tag (Pp.Tag.inj Ppstyle.error_tag Ppstyle.tag) (str "Error:") in
+ let header = Pp.tag Ppstyle.error_tag (str "Error:") in
let e = EvaluatedError (hov 0 (header ++ spc () ++ strm), None) in
(e, info)
else