Skip to content

Commit 038aecd

Browse files
committed
Make ocamlformat compatible with 5.3
1 parent dca7513 commit 038aecd

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

vendor/ocaml-common/location.ml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -502,7 +502,7 @@ let highlight_quote ppf
502502
Format.fprintf ppf "@}@,"
503503
| _ ->
504504
(* Multi-line error *)
505-
Misc.pp_two_columns ~sep:"|" ~max_lines ppf
505+
Format_doc.compat (Format_doc.pp_two_columns ~sep:"|" ~max_lines) ppf
506506
@@ List.map (fun (line, line_nb, line_start_cnum) ->
507507
let line = String.mapi (fun i car ->
508508
if ISet.mem iset ~pos:(line_start_cnum + i) then car else '.'

0 commit comments

Comments
 (0)