aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Melquiond2016-11-22 10:54:20 +0100
committerGuillaume Melquiond2016-11-22 10:54:20 +0100
commita277da239514ad3bcabc7933a14cfcdc46f272e5 (patch)
tree7dea26788038547428d27c3b209b9f4c78fdcf2c
parentaa86963464045d61fa0eaf3a7fe67ced7a6a73f4 (diff)
Properly parenthesize "ltac:" arguments (bug #5169).
-rw-r--r--printing/pptactic.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/pptactic.ml b/printing/pptactic.ml
index 1e618b59eb..6e40e03f5b 100644
--- a/printing/pptactic.ml
+++ b/printing/pptactic.ml
@@ -1216,7 +1216,7 @@ module Make
| TacNumgoals ->
keyword "numgoals"
| (TacCall _|Tacexp _ | TacGeneric _) as a ->
- keyword "ltac:" ++ pr_tac (latom,E) (TacArg (Loc.ghost,a))
+ str "ltac:(" ++ pr_tac (1,Any) (TacArg (Loc.ghost,a)) ++ str ")"
in pr_tac