diff options
Diffstat (limited to 'checker')
-rw-r--r-- | checker/mod_checking.mli | 9 | ||||
-rw-r--r-- | checker/safe_typing.ml | 3 |
2 files changed, 10 insertions, 2 deletions
diff --git a/checker/mod_checking.mli b/checker/mod_checking.mli new file mode 100644 index 000000000..8021ed0f9 --- /dev/null +++ b/checker/mod_checking.mli @@ -0,0 +1,9 @@ +(************************************************************************) +(* v * The Coq Proof Assistant / The Coq Development Team *) +(* <O___,, * INRIA - CNRS - LIX - LRI - PPS - Copyright 1999-2010 *) +(* \VV/ **************************************************************) +(* // * This file is distributed under the terms of the *) +(* * GNU Lesser General Public License Version 2.1 *) +(************************************************************************) + +val check_module : Environ.env -> Names.module_path -> Declarations.module_body -> unit diff --git a/checker/safe_typing.ml b/checker/safe_typing.ml index 83364aa72..0b3ef54bb 100644 --- a/checker/safe_typing.ml +++ b/checker/safe_typing.ml @@ -11,7 +11,6 @@ open Util open Names open Declarations open Environ -open Mod_checking (************************************************************************) (* @@ -189,7 +188,7 @@ let import file (dp,mb,depends,engmt as vo) digest = let env = !genv in check_imports msg_warning dp env depends; check_engagement env engmt; - check_module (add_constraints mb.mod_constraints env) mb.mod_mp mb; + Mod_checking.check_module (add_constraints mb.mod_constraints env) mb.mod_mp mb; stamp_library file digest; (* We drop proofs once checked *) (* let mb = lighten_module mb in*) |