aboutsummaryrefslogtreecommitdiffhomepage
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2006-02-06 09:33:07 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2006-02-06 09:33:07 +0000
commit5f19317aa350d968fee34b278aadadeed2f25cee (patch)
treeea75e8b9819bb0c3932a1f1d2349d2115e3cdd27
parent7e5df0cb19e7a66631e8221e7a5cb6e786b7065b (diff)
warning seulement si mode verbose
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@7996 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--toplevel/command.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/toplevel/command.ml b/toplevel/command.ml
index 811989600..a6b9d5d62 100644
--- a/toplevel/command.ml
+++ b/toplevel/command.ml
@@ -130,7 +130,7 @@ let red_constant_entry bl ce = function
let declare_global_definition ident ce local =
let kn = declare_constant ident (DefinitionEntry ce,IsDefinition Definition) in
- if local = Local then
+ if local = Local && Options.is_verbose() then
msg_warning (pr_id ident ++ str" is declared as a global definition");
definition_message ident;
ConstRef kn