diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2000-12-20 11:00:28 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2000-12-20 11:00:28 +0000 |
commit | 923005cce9890435c92f2ee37d21154135dff9f5 (patch) | |
tree | 9c908cf75a49b6568995d228d10cbf5bd1ff8e08 /toplevel | |
parent | 282789ac10ff8fce049a2d8ed0a6ae75c9100d9c (diff) |
Import module force l'ouverture du module même s'il était déjà ouvert afin de pouvoir re-rendre visible des noms ayant été cachés depuis l'ouverture du module; renommage de open_module en import_module avec cette nouvelle spéc
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1164 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel')
-rw-r--r-- | toplevel/vernac.ml | 2 | ||||
-rw-r--r-- | toplevel/vernacentries.ml | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/toplevel/vernac.ml b/toplevel/vernac.ml index 735724aed..35a1eb494 100644 --- a/toplevel/vernac.ml +++ b/toplevel/vernac.ml @@ -125,7 +125,7 @@ and raw_load_vernac_file verbosely s = let _ = read_vernac_file verbosely s in () and raw_compile_module verbosely only_spec mname file = - Library.open_module mname; + Library.import_module mname; (* ??? *) let lfname = read_vernac_file verbosely file in let base = Filename.chop_suffix lfname ".v" in Pfedit.check_no_pending_proofs (); diff --git a/toplevel/vernacentries.ml b/toplevel/vernacentries.ml index 9b11040d2..7f3485e4e 100644 --- a/toplevel/vernacentries.ml +++ b/toplevel/vernacentries.ml @@ -329,7 +329,7 @@ let _ = (function | [VARG_IDENTIFIER id] -> fun () -> - without_mes_ambig Library.open_module (string_of_id id) + without_mes_ambig Library.import_module (string_of_id id) | _ -> bad_vernac_args "ImportModule") let _ = |