From 6b59b0f2a993c56cf0adc1d052a98b0df334a0f7 Mon Sep 17 00:00:00 2001 From: herbelin Date: Sat, 8 Oct 2011 12:44:59 +0000 Subject: Rely on kernel to know if a name is already used so as to be consistent with it. Maybe could we keep only the kernel check, but message would certainly need to be reformulated then. For instance, the message was previously different for an attempt to redefine a name whether this name was in the same section or not. git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@14528 85f007b7-540e-0410-9357-904b9bb8a0f7 --- library/global.mli | 1 + 1 file changed, 1 insertion(+) (limited to 'library/global.mli') diff --git a/library/global.mli b/library/global.mli index 9beb535d5..7859c51ef 100644 --- a/library/global.mli +++ b/library/global.mli @@ -87,6 +87,7 @@ val lookup_module : module_path -> module_body val lookup_modtype : module_path -> module_type_body val constant_of_delta : constant -> constant val mind_of_delta : mutual_inductive -> mutual_inductive +val exists_label : label -> bool (** Compiled modules *) val start_library : dir_path -> module_path -- cgit v1.2.3