diff options
Diffstat (limited to 'tools')
-rw-r--r-- | tools/ocamldep.ml | 2 | ||||
-rw-r--r-- | tools/ocamlprof.ml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/tools/ocamldep.ml b/tools/ocamldep.ml index 3602200476..27c5d7efbc 100644 --- a/tools/ocamldep.ml +++ b/tools/ocamldep.ml @@ -253,7 +253,7 @@ let file_dependencies source_file = let report_err = function | Lexer.Error(err, range) -> fprintf Format.err_formatter "@[%a%a@]@." - Location.print range Lexer.report_error err + Location.print_error range Lexer.report_error err | Syntaxerr.Error err -> fprintf Format.err_formatter "@[%a@]@." Syntaxerr.report_error err diff --git a/tools/ocamlprof.ml b/tools/ocamlprof.ml index 09112efd1f..c66e6722f2 100644 --- a/tools/ocamlprof.ml +++ b/tools/ocamlprof.ml @@ -476,7 +476,7 @@ let main () = let report_error ppf = function | Lexer.Error(err, range) -> fprintf ppf "@[%a%a@]@." - Location.print range Lexer.report_error err + Location.print_error range Lexer.report_error err | Syntaxerr.Error err -> fprintf ppf "@[%a@]@." Syntaxerr.report_error err |