From 2cf0287c9c863d7969fb5d4e85b7ca538dd103c2 Mon Sep 17 00:00:00 2001 From: Hugo Herbelin Date: Mon, 27 Apr 2020 14:39:56 +0200 Subject: Adding and using locations on identifiers in constr_expr where they were missing. --- printing/ppconstr.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'printing') 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 -- cgit v1.2.3