aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/pp.mli
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-03-31 20:38:52 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2017-04-05 16:37:02 +0200
commit63cfc77ddf3586262d905dc351b58669d185a55e (patch)
tree75d9aead40f1b9b13f3582fa8a186e6e2356e490 /lib/pp.mli
parent9f188da28f65341f5c5ecd0b3b4f9b447bbc2b15 (diff)
[toplevel] Remove exception error printer in favor of feedback printer.
We solve https://coq.inria.fr/bugs/show_bug.cgi?id=4789 by printing all the errors from the feedback handler, even in the case of coqtop. All error display is handled by a single, uniform path. There may be some minor discrepancies with 8.6 as we are uniform now whereas 8.6 tended to print errors in several ways, but our behavior is a subset of the 8.6 behavior. We had to make a choice for `-emacs` error output, which used to vary too. We have chosen to display error messages as: ``` (location info) option \n (program caret) option \n MARKER[254]Error: msgMARKER[255] ``` This commit also fixes: - https://coq.inria.fr/bugs/show_bug.cgi?id=5418 - https://coq.inria.fr/bugs/show_bug.cgi?id=5429
Diffstat (limited to 'lib/pp.mli')
-rw-r--r--lib/pp.mli1
1 files changed, 0 insertions, 1 deletions
diff --git a/lib/pp.mli b/lib/pp.mli
index 802ffe8e7..7a191b01a 100644
--- a/lib/pp.mli
+++ b/lib/pp.mli
@@ -171,7 +171,6 @@ val surround : std_ppcmds -> std_ppcmds
(** Surround with parenthesis. *)
val pr_vertical_list : ('b -> std_ppcmds) -> 'b list -> std_ppcmds
-val pr_loc : Loc.t -> std_ppcmds
(** {6 Main renderers, to formatter and to string } *)