aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2002-07-15 14:48:17 +0000
committerherbelin2002-07-15 14:48:17 +0000
commitacf2cbad0487ef2df863e193a06c7769f5da06f3 (patch)
treebf500285ded93e5cbad09d35cc98a2345bcdce2e
parent5ab437509f84d7f2175cdd55e801647699998983 (diff)
Pb de factorisation camlp4
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@2871 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--parsing/g_vernac.ml44
1 files changed, 3 insertions, 1 deletions
diff --git a/parsing/g_vernac.ml4 b/parsing/g_vernac.ml4
index 16af5ea976..243f72bf16 100644
--- a/parsing/g_vernac.ml4
+++ b/parsing/g_vernac.ml4
@@ -135,7 +135,9 @@ ident_comma_list_tail:
vardecls:
[ [ id = ident; idl = ident_comma_list_tail; c = type_option ->
LocalRawAssum (id::idl,c)
- | id = ident; [ "=" | ":=" ]; c = opt_casted_constr ->
+ | id = ident; "="; c = opt_casted_constr ->
+ LocalRawDef (id,c)
+ | id = ident; ":="; c = opt_casted_constr ->
LocalRawDef (id,c)
] ]
;