aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorHugo Herbelin2016-04-16 22:09:24 +0200
committerHugo Herbelin2016-04-27 21:55:46 +0200
commit9b1b5de7a70c54ba3d60560d3d097f3eee2ca907 (patch)
tree1850f494291d93abee0722a1c9ad81aaa7c69947
parent691dc7d88c6810333eecef7c2f0b8d8617d19ab1 (diff)
Fixing extra space in printing destruct/induction as.
-rw-r--r--printing/pptactic.ml5
1 files changed, 2 insertions, 3 deletions
diff --git a/printing/pptactic.ml b/printing/pptactic.ml
index 3ebb370840..0afe9ae3bf 100644
--- a/printing/pptactic.ml
+++ b/printing/pptactic.ml
@@ -463,10 +463,9 @@ module Make
let pr_with_induction_names prc = function
| None, None -> mt ()
- | Some eqpat, None -> spc () ++ hov 1 (pr_eqn_ipat eqpat)
- | None, Some ipat -> spc () ++ hov 1 (pr_as_disjunctive_ipat prc ipat)
+ | Some eqpat, None -> hov 1 (pr_eqn_ipat eqpat)
+ | None, Some ipat -> hov 1 (pr_as_disjunctive_ipat prc ipat)
| Some eqpat, Some ipat ->
- spc () ++
hov 1 (pr_as_disjunctive_ipat prc ipat ++ spc () ++ pr_eqn_ipat eqpat)
let pr_as_intro_pattern prc ipat =