diff options
author | filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2000-11-24 16:13:28 +0000 |
---|---|---|
committer | filliatr <filliatr@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2000-11-24 16:13:28 +0000 |
commit | 0c68df5ccdacb5d2ed50b533ad613723914dfee7 (patch) | |
tree | c83306fc05e7f70bdcd756086368e04b32e2699b /library/global.ml | |
parent | 7f40f2807d4046a7cea8e83cb0a983cdc6401f78 (diff) |
certains effets disparaissent a la sortie des sections, d'autres non (selon Summary.survive_section)
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@945 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 d5885ed02..2fcd3c2b6 100644 --- a/library/global.ml +++ b/library/global.ml @@ -23,7 +23,8 @@ let _ = declare_summary "Global environment" { freeze_function = (fun () -> !global_env); unfreeze_function = (fun fr -> global_env := fr); - init_function = (fun () -> global_env := empty_environment) } + init_function = (fun () -> global_env := empty_environment); + survive_section = true } (* Then we export the functions of [Typing] on that environment. *) |