changement du type des locations pour le profiler
git-svn-id: http://caml.inria.fr/svn/ocaml/trunk@2404 f963ae5c-01c2-4b8c-9fe0-0dff7051ff02master
parent
ae90e22461
commit
5a1b320ded
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue