aboutsummaryrefslogtreecommitdiff
path: root/ide/xmlprotocol.mli
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2016-06-25 16:05:25 +0200
committerEmilio Jesus Gallego Arias2016-06-25 17:17:45 +0200
commit893ea5219eb74aedf93bd53f23b5e050fb9acbf6 (patch)
treeb1ee17d5fdbc321c30573b6c70a9c7389cf44a33 /ide/xmlprotocol.mli
parentc9f9a159818c138af3b8d8a3a1023a66b88be207 (diff)
[feedback] Allow messages to carry a location.
The new warnings mechanism may which to forward a location to IDEs. This also makes sense for other message types. Next step is to remove redundant MsgError feedback type.
Diffstat (limited to 'ide/xmlprotocol.mli')
-rw-r--r--ide/xmlprotocol.mli4
1 files changed, 2 insertions, 2 deletions
diff --git a/ide/xmlprotocol.mli b/ide/xmlprotocol.mli
index 6bca8772ed..1bb9989704 100644
--- a/ide/xmlprotocol.mli
+++ b/ide/xmlprotocol.mli
@@ -66,7 +66,7 @@ val of_feedback : Feedback.feedback -> xml
val to_feedback : xml -> Feedback.feedback
val is_feedback : xml -> bool
-val is_message : xml -> (Feedback.level * Richpp.richpp) option
-val of_message : Feedback.level -> Richpp.richpp -> xml
+val is_message : xml -> (Feedback.level * Loc.t option * Richpp.richpp) option
+val of_message : Feedback.level -> Loc.t option -> Richpp.richpp -> xml
(* val to_message : xml -> Feedback.message *)