aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Herbelin2016-04-09 16:39:55 +0200
committerHugo Herbelin2016-04-09 18:26:00 +0200
commita2664de27eabbba7fc357305679112aef99e1f74 (patch)
treead434de76d480c744d1ed8f22308c7abef143590
parent41af4c3e36af15d9cc235cb5effedeed40478d2e (diff)
Removing automatic printing of leading space in auto_using and
hintbases so that it does not put extra space when auto is defined as a TACTIC EXTEND.
-rw-r--r--printing/pptactic.ml8
1 files changed, 3 insertions, 5 deletions
diff --git a/printing/pptactic.ml b/printing/pptactic.ml
index 7dae97acf2..7d7ebd1416 100644
--- a/printing/pptactic.ml
+++ b/printing/pptactic.ml
@@ -675,15 +675,13 @@ module Make
str " ]")
let pr_hintbases = function
- | None -> spc () ++ keyword "with" ++ str" *"
+ | None -> keyword "with" ++ str" *"
| Some [] -> mt ()
- | Some l ->
- spc () ++ hov 2 (keyword "with" ++ prlist (fun s -> spc () ++ str s) l)
+ | Some l -> hov 2 (keyword "with" ++ prlist (fun s -> spc () ++ str s) l)
let pr_auto_using prc = function
| [] -> mt ()
- | l -> spc () ++
- hov 2 (keyword "using" ++ spc () ++ prlist_with_sep pr_comma prc l)
+ | l -> hov 2 (keyword "using" ++ spc () ++ prlist_with_sep pr_comma prc l)
let pr_then () = str ";"