From 79a25a71dd3519d8e7a6bd9f3a004c7c0da3a1b5 Mon Sep 17 00:00:00 2001 From: herbelin Date: Thu, 13 Aug 2009 19:10:11 +0000 Subject: 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 --- library/goptions.ml | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) (limited to 'library/goptions.ml') 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 -- cgit v1.2.3