aboutsummaryrefslogtreecommitdiffhomepage
path: root/library/global.ml
diff options
context:
space:
mode:
authorGravatar coq <coq@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-10-07 15:36:10 +0000
committerGravatar coq <coq@85f007b7-540e-0410-9357-904b9bb8a0f7>2003-10-07 15:36:10 +0000
commite7f9bc39ab4e879b521439901ed99bf3382bd40a (patch)
tree763aa02aaa6cacdf72ed13f56eae4ab243608f99 /library/global.ml
parent12d83b6915b3a4c76c18cc612ad8628cec787c68 (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.ml3
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. *)