diff options
Diffstat (limited to 'printing')
| -rw-r--r-- | printing/pputils.ml | 2 | ||||
| -rw-r--r-- | printing/prettyp.ml | 4 |
2 files changed, 3 insertions, 3 deletions
diff --git a/printing/pputils.ml b/printing/pputils.ml index 50630fb9b5..e90b54685e 100644 --- a/printing/pputils.ml +++ b/printing/pputils.ml @@ -105,7 +105,7 @@ let pr_red_expr (pr_constr,pr_lconstr,pr_ref,pr_pattern) keyword = function let pr_or_by_notation f = function | AN v -> f v - | ByNotation (_,s,sc) -> qs s ++ pr_opt (fun sc -> str "%" ++ str sc) sc + | ByNotation (_,(s,sc)) -> qs s ++ pr_opt (fun sc -> str "%" ++ str sc) sc let hov_if_not_empty n p = if Pp.ismt p then p else hov n p diff --git a/printing/prettyp.ml b/printing/prettyp.ml index aa422e36af..96b0f49d4b 100644 --- a/printing/prettyp.ml +++ b/printing/prettyp.ml @@ -750,7 +750,7 @@ let print_any_name = function ~hdr:"print_name" (pr_qualid qid ++ spc () ++ str "not a defined object.") let print_name = function - | ByNotation (loc,ntn,sc) -> + | ByNotation (loc,(ntn,sc)) -> print_any_name (Term (Notation.interp_notation_as_global_reference loc (fun _ -> true) ntn sc)) @@ -798,7 +798,7 @@ let print_about_any loc k = hov 0 (pr_located_qualid k) let print_about = function - | ByNotation (loc,ntn,sc) -> + | ByNotation (loc,(ntn,sc)) -> print_about_any loc (Term (Notation.interp_notation_as_global_reference loc (fun _ -> true) ntn sc)) |
