aboutsummaryrefslogtreecommitdiff
path: root/printing
diff options
context:
space:
mode:
authorHugo Herbelin2020-04-27 14:39:56 +0200
committerHugo Herbelin2020-10-10 22:13:59 +0200
commit2cf0287c9c863d7969fb5d4e85b7ca538dd103c2 (patch)
tree0dfa98a20514443017dcd81d165cdcb494e5743f /printing
parent03d55f990bb7a2c4f5c1fefa408b94a8a93e8d05 (diff)
Adding and using locations on identifiers in constr_expr where they were missing.
Diffstat (limited to 'printing')
-rw-r--r--printing/ppconstr.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/printing/ppconstr.ml b/printing/ppconstr.ml
index 267f5e0b5f..30335d9826 100644
--- a/printing/ppconstr.ml
+++ b/printing/ppconstr.ml
@@ -231,7 +231,7 @@ let tag_var = tag Tag.variable
(match l with
| [] -> mt()
| l ->
- let f (id,c) = pr_id id ++ str ":=" ++ pr ltop c in
+ let f (id,c) = pr_lident id ++ str ":=" ++ pr ltop c in
str"@{" ++ hov 0 (prlist_with_sep pr_semicolon f (List.rev l)) ++ str"}"))
let las = lapp