diff options
author | 2000-10-26 13:04:56 +0000 | |
---|---|---|
committer | 2000-10-26 13:04:56 +0000 | |
commit | 1d59f1711831125c3837baef7d787e543d575b7a (patch) | |
tree | 9f32db1fabab8bb4114d70c7a8d172d89633f5d1 /library | |
parent | ad33d68def49ad9e5c144c76c46711c60947d8aa (diff) |
Require Export recursifs
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@768 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library')
-rw-r--r-- | library/library.ml | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/library/library.ml b/library/library.ml index d3af39071..2a6003d52 100644 --- a/library/library.ml +++ b/library/library.ml @@ -116,8 +116,8 @@ let open_module s = (*s [load_module s] loads the module [s] from the disk, and [find_module s] returns the module of name [s], loading it if necessary. The boolean [doexp] specifies if we open the modules which are declared - exported in the dependencies (usually it is [true] at the highest level; - it is always [false] in recursive loadings). *) + exported in the dependencies (it is [true] at the highest level; + then same value as for caller is reused in recursive loadings). *) let load_objects decls = segment_iter load_object decls @@ -144,7 +144,7 @@ let rec load_module_from doexp s f = m and load_mandatory_module doexp caller (s,d,export) = - let m = find_module false s s in + let m = find_module export s s in if d <> m.module_digest then error ("module "^caller^" makes inconsistent assumptions over module "^s); if doexp && export then open_module s |