aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorMaxime Dénès2017-05-09 13:08:07 +0200
committerMaxime Dénès2017-05-09 13:08:07 +0200
commita1788978360bd276bef721963e7adc47c1a49881 (patch)
treea05b02c7856d2808339c2b92c40903fee18b3bfb /dev
parentbfea0e03c55cd2ee3ebb99ee028bb4412f0c623f (diff)
parent75a808f893a68eaf82296535e0d168e0f09f8193 (diff)
Merge PR#619: Fix warnings in top_printers
Diffstat (limited to 'dev')
-rw-r--r--dev/top_printers.ml11
1 files changed, 0 insertions, 11 deletions
diff --git a/dev/top_printers.ml b/dev/top_printers.ml
index 7caaf2d9d5..f8498c4023 100644
--- a/dev/top_printers.ml
+++ b/dev/top_printers.ml
@@ -7,7 +7,6 @@
(************************************************************************)
(* Printers for the ocaml toplevel. *)
-[@@@ocaml.warning "-32"]
open Util
open Pp
@@ -60,14 +59,6 @@ let pprecarg = function
str "Imbr[" ++ MutInd.print mind ++ pr_comma () ++ int i ++ str "]"
let ppwf_paths x = pp (Rtree.pp_tree pprecarg x)
-let pprecarg = function
- | Declarations.Norec -> str "Norec"
- | Declarations.Mrec (mind,i) ->
- str "Mrec[" ++ MutInd.print mind ++ pr_comma () ++ int i ++ str "]"
- | Declarations.Imbr (mind,i) ->
- str "Imbr[" ++ MutInd.print mind ++ pr_comma () ++ int i ++ str "]"
-let ppwf_paths x = pp (Rtree.pp_tree pprecarg x)
-
(* term printers *)
let rawdebug = ref false
let ppevar evk = pp (str (Evd.string_of_existential evk))
@@ -458,8 +449,6 @@ let print_pure_constr csr =
print_string (Printexc.to_string e);print_flush ();
raise e
-let ppfconstr c = ppconstr (CClosure.term_of_fconstr c)
-
let pploc x = let (l,r) = Loc.unloc x in
print_string"(";print_int l;print_string",";print_int r;print_string")"