diff options
| author | Damien Doligez <damien.doligez-inria.fr> | 2007-12-04 13:38:58 +0000 |
|---|---|---|
| committer | Damien Doligez <damien.doligez-inria.fr> | 2007-12-04 13:38:58 +0000 |
| commit | e9a9bf961371899ed6d2bb02be98ab98c6adb5f6 (patch) | |
| tree | 91cd210ff2fd64cced560d5a63f3fbe3317f1e73 /tools/ocamlprof.ml | |
| parent | 0593f338d4f9bb9942b6bc69e6786dba45f5d610 (diff) | |
| download | ocaml-e9a9bf961371899ed6d2bb02be98ab98c6adb5f6.tar.gz | |
PR#3114 make all error messages start with a location and "Error: "
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@8705 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
Diffstat (limited to 'tools/ocamlprof.ml')
| -rw-r--r-- | tools/ocamlprof.ml | 2 |
1 files changed, 1 insertions, 1 deletions
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 |
