changement du type des locations pour le profiler

git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2404 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02
master
Damien Doligez 1999-09-08 20:08:15 +00:00
parent ae90e22461
commit 5a1b320ded
1 changed files with 2 additions and 2 deletions

View File

@ -5,7 +5,7 @@
(* Xavier Leroy, projet Cristal, INRIA Rocquencourt *)
(* *)
(* Copyright 1996 Institut National de Recherche en Informatique et *)
(* Automatique. Distributed only by permission. *)
(* en Automatique. Distributed only by permission. *)
(* *)
(***********************************************************************)
@ -22,7 +22,7 @@ let report_error exn =
open_box 0;
begin match exn with
Lexer.Error(err, start, stop) ->
Location.print {loc_start = start; loc_end = stop};
Location.print {loc_start = start; loc_end = stop; loc_ghost = false};
Lexer.report_error err
| Syntaxerr.Error err ->
Syntaxerr.report_error err