aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2001-07-09 18:59:47 +0000
committerherbelin2001-07-09 18:59:47 +0000
commite6307a2803c014e14ba8223512fb8416d8bc6269 (patch)
treec2e86de1e31bea7e748305e5291deb2caa17a1ec
parent8054ea17b6d4bbd6c85d178417bb91cbf35d16db (diff)
Backtrack sur le warning Require en Section: trop contraignant
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@1834 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--library/library.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/library/library.ml b/library/library.ml
index bea05a2229..a6b7b50127 100644
--- a/library/library.ml
+++ b/library/library.ml
@@ -200,8 +200,10 @@ let (in_require, _) =
export_function = (fun _ -> None) })
let require_module spec name fileopt export =
+(* Trop contraignant
if sections_are_opened () then
warning ("Objets of "^name^" not surviving sections (e.g. Grammar \nand Hints) will be removed at the end of the section");
+*)
let file = match fileopt with
| None -> name
| Some f -> f