aboutsummaryrefslogtreecommitdiff
path: root/printing/genprint.ml
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-02-22 13:51:55 -0500
committerEmilio Jesus Gallego Arias2020-02-22 13:51:55 -0500
commitfd67afe0f7c55799ae0a14d78f1007a0360bd552 (patch)
tree7b77866dfda1c468eb3a0ddddd1afcd22af1a834 /printing/genprint.ml
parent7ef010c50c9d8efcd20d44807126efcd418c4e0d (diff)
parent2e64c61cf64172fb0dce2d8b3996fb30e179e5ea (diff)
Merge PR #11635: Cleanup around the tolerability structure
Reviewed-by: ejgallego
Diffstat (limited to 'printing/genprint.ml')
-rw-r--r--printing/genprint.ml8
1 files changed, 4 insertions, 4 deletions
diff --git a/printing/genprint.ml b/printing/genprint.ml
index a04df31d30..a673cbd933 100644
--- a/printing/genprint.ml
+++ b/printing/genprint.ml
@@ -19,15 +19,15 @@ open Geninterp
(* Printing generic values *)
type 'a with_level =
- { default_already_surrounded : Notation_gram.tolerability;
- default_ensure_surrounded : Notation_gram.tolerability;
+ { default_already_surrounded : Constrexpr.entry_relative_level;
+ default_ensure_surrounded : Constrexpr.entry_relative_level;
printer : 'a }
type printer_result =
| PrinterBasic of (Environ.env -> Evd.evar_map -> Pp.t)
-| PrinterNeedsLevel of (Environ.env -> Evd.evar_map -> Notation_gram.tolerability -> Pp.t) with_level
+| PrinterNeedsLevel of (Environ.env -> Evd.evar_map -> Constrexpr.entry_relative_level -> Pp.t) with_level
-type printer_fun_with_level = Environ.env -> Evd.evar_map -> Notation_gram.tolerability -> Pp.t
+type printer_fun_with_level = Environ.env -> Evd.evar_map -> Constrexpr.entry_relative_level -> Pp.t
type top_printer_result =
| TopPrinterBasic of (unit -> Pp.t)