aboutsummaryrefslogtreecommitdiff
path: root/dev
diff options
context:
space:
mode:
authorHugo Herbelin2014-10-02 18:58:54 +0200
committerHugo Herbelin2014-10-02 18:59:07 +0200
commit0c320e79ba30bf567d4ca194bc114d733baf76e5 (patch)
tree881b5a63de22e0078bcd27480c8157ac76190bfe /dev
parent2b26c3e9a011af1f77e4f4fc61c73943d2bb0dfc (diff)
Fixing interpretation of constr under binders which was broken after
it became possible to have binding names themselves bound to ltac variables (2fcc458af16b).
Diffstat (limited to 'dev')
-rw-r--r--dev/top_printers.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/dev/top_printers.ml b/dev/top_printers.ml
index 2cbac21753..0345ddfabc 100644
--- a/dev/top_printers.ml
+++ b/dev/top_printers.ml
@@ -104,7 +104,7 @@ let ppevarsubst = ppidmap (fun id0 -> prset (fun (c,copt,id) ->
else spc () ++ str "<canonical: " ++ pr_id id ++ str ">"))))
let ppconstrunderbindersidmap l = ppidmap (fun id (l,c) ->
- Id.print id ++ str "->" ++ hov 1 (str"[" ++ prlist Id.print l ++ str"]")
+ Id.print id ++ str "->" ++ hov 1 (str"[" ++ prlist_with_sep spc Id.print l ++ str"]")
++ str "," ++ spc () ++ Termops.print_constr c)
let ppunbound_ltac_var_map l = ppidmap (fun id arg ->