diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2009-08-13 19:10:11 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2009-08-13 19:10:11 +0000 |
commit | 79a25a71dd3519d8e7a6bd9f3a004c7c0da3a1b5 (patch) | |
tree | 949401f9c40c65a0a6bb3f8aa14a97428649451a /library/goptions.ml | |
parent | 6366dec0a76dbaf100907b2d4cd4da84a2ba7fef (diff) |
Death of "survive_module" and "survive_section" (the first one was
only used to allow a module to be ended before the summaries were
restored what can be solved by moving upwards the place where the
summaries are restored).
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@12275 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/goptions.ml')
-rw-r--r-- | library/goptions.ml | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/library/goptions.ml b/library/goptions.ml index 6e58fd218..bf431e1fc 100644 --- a/library/goptions.ml +++ b/library/goptions.ml @@ -83,9 +83,7 @@ module MakeTable = Summary.declare_summary nick { Summary.freeze_function = freeze; Summary.unfreeze_function = unfreeze; - Summary.init_function = init; - Summary.survive_module = false; - Summary.survive_section = true } + Summary.init_function = init } let (add_option,remove_option) = if A.synchronous then @@ -244,11 +242,9 @@ let declare_option cast uncast classify_function = (fun _ -> Dispose)} in let _ = declare_summary (nickname key) - {freeze_function = read; + { freeze_function = read; unfreeze_function = write; - init_function = (fun () -> write default); - survive_module = false; - survive_section = false} + init_function = (fun () -> write default) } in fun v -> add_anonymous_leaf (decl_obj v) else write |