aboutsummaryrefslogtreecommitdiff
path: root/ide/protocol
diff options
context:
space:
mode:
Diffstat (limited to 'ide/protocol')
-rw-r--r--ide/protocol/richpp.ml6
1 files changed, 3 insertions, 3 deletions
diff --git a/ide/protocol/richpp.ml b/ide/protocol/richpp.ml
index 507b985d2f..463d93af0d 100644
--- a/ide/protocol/richpp.ml
+++ b/ide/protocol/richpp.ml
@@ -94,7 +94,7 @@ let rich_pp width ppcmds =
print_close_tag = ignore;
} in
- pp_set_formatter_tag_functions ft tag_functions;
+ pp_set_formatter_tag_functions ft tag_functions [@warning "-3"];
pp_set_mark_tags ft true;
(* Setting the formatter *)
@@ -107,9 +107,9 @@ let rich_pp width ppcmds =
(* The whole output must be a valid document. To that
end, we nest the document inside <pp> tags. *)
pp_open_box ft 0;
- pp_open_tag ft "pp";
+ pp_open_tag ft "pp" [@warning "-3"];
Pp.(pp_with ft ppcmds);
- pp_close_tag ft ();
+ pp_close_tag ft () [@warning "-3"];
pp_close_box ft ();
(* Get the resulting XML tree. *)