Skip to content

Commit f53802c

Browse files
authored
[Super errors] Expose hook for error msgs formatting (#1920)
1 parent 20fe35f commit f53802c

File tree

1 file changed

+4
-0
lines changed

1 file changed

+4
-0
lines changed

vendor/ocaml/parsing/location.mli

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,10 @@ val print_error_prefix: formatter -> unit -> unit
105105

106106
val error: ?loc:t -> ?sub:error list -> ?if_highlight:string -> string -> error
107107

108+
#if undefined BS_NO_COMPILER_PATCH then
109+
val pp_ksprintf : ?before:(formatter -> unit) -> (string -> 'a) -> ('b, formatter, unit, 'a) format4 -> 'b
110+
#end
111+
108112
val errorf: ?loc:t -> ?sub:error list -> ?if_highlight:string
109113
-> ('a, Format.formatter, unit, error) format4 -> 'a
110114

0 commit comments

Comments
 (0)