aboutsummaryrefslogtreecommitdiffhomepage
path: root/lib/feedback.mli
diff options
context:
space:
mode:
authorGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2016-06-25 16:14:23 +0200
committerGravatar Emilio Jesus Gallego Arias <e+git@x80.org>2016-06-25 17:17:45 +0200
commit1053a1d4e8112ae78af86024073cf03c072d1a7c (patch)
tree968d9890732461ae2264ede479d22d64148078b8 /lib/feedback.mli
parent893ea5219eb74aedf93bd53f23b5e050fb9acbf6 (diff)
[feedback] Remove `ErrorMsg` in favor of `Message Error`.
The ErrorMsg datatype was introduced to allow locations in messages, however, it was redundant with error and used only in one place. We remove it in favor of a more uniform treatment of messages with location. This patch also removes the use of `Loc.ghost` in one place. Lightly tested.
Diffstat (limited to 'lib/feedback.mli')
-rw-r--r--lib/feedback.mli3
1 files changed, 1 insertions, 2 deletions
diff --git a/lib/feedback.mli b/lib/feedback.mli
index 36fb3867f..d72524e65 100644
--- a/lib/feedback.mli
+++ b/lib/feedback.mli
@@ -31,7 +31,6 @@ type feedback_content =
| Processed
| Incomplete
| Complete
- | ErrorMsg of Loc.t * string
(* STM optional data *)
| ProcessingIn of string
| InProgress of int
@@ -45,7 +44,7 @@ type feedback_content =
| FileLoaded of string * string
(* Extra metadata *)
| Custom of Loc.t * string * xml
- (* Old generic messages *)
+ (* Generic messages *)
| Message of level * Loc.t option * Richpp.richpp
type feedback = {