aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-04-16 22:05:09 +0200
committerGravatar Hugo Herbelin <Hugo.Herbelin@inria.fr>2016-04-27 21:55:46 +0200
commitd408e09e5366899f4313f433cc9507ea92458c49 (patch)
treef255d3ea3d7d40d893577f356a9495ee4c8c9651
parent6da8866a4fd79029b22bd1bf7cde6725a9ea259c (diff)
Fixing printing of keeping hyp on the fly.
-rw-r--r--printing/pptactic.ml6
1 files changed, 4 insertions, 2 deletions
diff --git a/printing/pptactic.ml b/printing/pptactic.ml
index 6f891c5f8..477758551 100644
--- a/printing/pptactic.ml
+++ b/printing/pptactic.ml
@@ -250,8 +250,10 @@ module Make
| NoBindings -> mt ()
let pr_clear_flag clear_flag pp x =
- (match clear_flag with Some false -> str "!" | Some true -> str ">" | None -> mt())
- ++ pp x
+ match clear_flag with
+ | Some false -> surround (pp x)
+ | Some true -> str ">" ++ pp x
+ | None -> pp x
let pr_with_bindings prc prlc (c,bl) =
prc c ++ pr_bindings prc prlc bl