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 --- checker/modops.ml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'checker/modops.ml') diff --git a/checker/modops.ml b/checker/modops.ml index 4212a93615..1a7d57e1ce 100644 --- a/checker/modops.ml +++ b/checker/modops.ml @@ -37,7 +37,7 @@ let error_no_such_label_sub l l1 = let error_not_a_module_loc loc s = user_err_loc (loc,"",str ("\""^string_of_label s^"\" is not a module")) -let error_not_a_module s = error_not_a_module_loc dummy_loc s +let error_not_a_module s = error_not_a_module_loc Loc.ghost s let error_with_incorrect l = error ("Incorrect constraint for label \""^(string_of_label l)^"\"") -- cgit v1.2.3