From 8256236dd59c753da186173f4d227565903f123a Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Sun, 13 May 2018 22:37:47 +0200 Subject: Removing a superfluous trailing newline in "Locate" for a notation. --- interp/notation.ml | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'interp') diff --git a/interp/notation.ml b/interp/notation.ml index 20e46bfe3..e6df7b96c 100644 --- a/interp/notation.ml +++ b/interp/notation.ml @@ -1051,7 +1051,7 @@ let locate_notation prglob ntn scope = | [] -> str "Unknown notation" | _ -> str "Notation" ++ fnl () ++ - prlist (fun (ntn,l) -> + prlist_with_sep fnl (fun (ntn,l) -> let scope = find_default ntn scopes in prlist (fun (sc,r,(_,df)) -> @@ -1060,8 +1060,7 @@ let locate_notation prglob ntn scope = (if String.equal sc default_scope then mt () else (spc () ++ str ": " ++ str sc)) ++ (if Option.equal String.equal (Some sc) scope - then spc () ++ str "(default interpretation)" else mt ()) - ++ fnl ())) + then spc () ++ str "(default interpretation)" else mt ()))) l) ntns let collect_notation_in_scope scope sc known = -- cgit v1.2.3