aboutsummaryrefslogtreecommitdiffhomepage
path: root/interp
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2018-05-13 22:37:47 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2018-05-13 22:41:39 +0200
commit8256236dd59c753da186173f4d227565903f123a (patch)
treebdf4f258d59ab1d847d0d681d457aa464cc02a05 /interp
parent12109393c957ef64f7dc8d47b745a75392e4382c (diff)
Removing a superfluous trailing newline in "Locate" for a notation.
Diffstat (limited to 'interp')
-rw-r--r--interp/notation.ml5
1 files changed, 2 insertions, 3 deletions
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 =