diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2005-02-20 18:13:28 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2005-02-20 18:13:28 +0000 |
commit | 4231d1907b1277bb45e86909a07d6fc893fa89fa (patch) | |
tree | a0fc5227294ab87f2319e53cfff05210841481f4 /library/declaremods.ml | |
parent | 5be5a0ff384bbac3bc529860793e975189c3c110 (diff) |
Keep ClosedSection marker for reset
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@6758 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'library/declaremods.ml')
-rw-r--r-- | library/declaremods.ml | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/library/declaremods.ml b/library/declaremods.ml index dcda0bf25..69aea75f8 100644 --- a/library/declaremods.ml +++ b/library/declaremods.ml @@ -783,7 +783,7 @@ let declare_module interp_modtype interp_modexpr id args mty_o mexpr_o = (*s Iterators. *) -let iter_all_segments insec f = +let iter_all_segments f = let _ = MPmap.iter (fun _ (prefix,objects) -> @@ -793,13 +793,11 @@ let iter_all_segments insec f = in let rec apply_node = function | sp, Leaf o -> f sp o - | _, ClosedSection (_,_,seg) -> if insec then List.iter apply_node seg | _ -> () in List.iter apply_node (Lib.contents_after None) - let debug_print_modtab _ = let pr_seg = function | [] -> str "[]" @@ -811,5 +809,3 @@ let debug_print_modtab _ = in let modules = MPmap.fold pr_modinfo !modtab_objects (mt ()) in hov 0 modules - - |