From 6b45f2d36929162cf92272bb60c2c245d9a0ead3 Mon Sep 17 00:00:00 2001 From: ppedrot Date: Fri, 22 Jun 2012 15:14:30 +0000 Subject: Added an indirection with respect to Loc in Compat. As many [open Compat] were closed (i.e. the only remaining ones are those of printing/parsing). Meanwhile, a simplified interface is provided in loc.mli. This also permits to put Pp in Clib, because it does not depend on CAMLP4/5 anymore. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@15475 85f007b7-540e-0410-9357-904b9bb8a0f7 --- lib/errors.ml | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'lib/errors.ml') diff --git a/lib/errors.ml b/lib/errors.ml index 026198a98a..77f03f0450 100644 --- a/lib/errors.ml +++ b/lib/errors.ml @@ -6,7 +6,6 @@ (* * GNU Lesser General Public License Version 2.1 *) (***********************************************************************) -open Compat open Pp (* Errors *) @@ -32,7 +31,7 @@ let invalid_arg_loc (loc,s) = Loc.raise loc (Invalid_argument s) (* Like Exc_located, but specifies the outermost file read, the filename associated to the location of the error, and the error itself. *) -exception Error_in_file of string * (bool * string * loc) * exn +exception Error_in_file of string * (bool * string * Loc.t) * exn exception Timeout exception Drop -- cgit v1.2.3