diff options
author | coq <coq@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2003-10-07 15:36:10 +0000 |
---|---|---|
committer | coq <coq@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2003-10-07 15:36:10 +0000 |
commit | e7f9bc39ab4e879b521439901ed99bf3382bd40a (patch) | |
tree | 763aa02aaa6cacdf72ed13f56eae4ab243608f99 /library/global.ml | |
parent | 12d83b6915b3a4c76c18cc612ad8628cec787c68 (diff) |
Correction du bug 335 et Export/Require Export dans un module
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@4534 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/global.ml')
-rw-r--r-- | library/global.ml | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/library/global.ml b/library/global.ml index 4824f0b2f..8b61c9a4a 100644 --- a/library/global.ml +++ b/library/global.ml @@ -26,10 +26,11 @@ let safe_env () = !global_env let env () = env_of_safe_env !global_env let _ = - declare_global_environment + declare_summary "Global environment" { freeze_function = (fun () -> !global_env); unfreeze_function = (fun fr -> global_env := fr); init_function = (fun () -> global_env := empty_environment); + survive_module = true; survive_section = false } (* Then we export the functions of [Typing] on that environment. *) |