aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2002-04-18 14:10:43 +0000
committerherbelin2002-04-18 14:10:43 +0000
commit3120e870dc31b2ec753c90ea2ddda2ad9ba44548 (patch)
tree8223a9c906e08584b7c09faf3a4c08eb0bfbe841
parent6f74f3248c8b2d03620b97d946c7e09ec30d628f (diff)
Suppression d'un warning plus surprenant qu'utile
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2658 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--parsing/astterm.ml2
1 files changed, 2 insertions, 0 deletions
diff --git a/parsing/astterm.ml b/parsing/astterm.ml
index ca911ad4a1..ce79725f35 100644
--- a/parsing/astterm.ml
+++ b/parsing/astterm.ml
@@ -195,8 +195,10 @@ let maybe_constructor env = function
| _ ->
(match maybe_variable l with
| Some s ->
+(* Why a warning since there is no warning when writing [globname:T]...
warning ("Defined reference "^(string_of_qualid qid)
^" is here considered as a matching variable");
+*)
VarPat (loc,s)
| _ -> error ("This reference does not denote a constructor: "
^(string_of_qualid qid)))