aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorherbelin2002-11-29 10:33:44 +0000
committerherbelin2002-11-29 10:33:44 +0000
commitd96e3b9a191247a03def5e932cacb18f0a3081f2 (patch)
treef6a311d2741c697dd97f7a03c704397a946d7ecd
parentebbe84707d6a082b3eef6c9e40a9c1b7b24bc03b (diff)
constr9 et lconstr NONA pour une meilleur extensibilité
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3340 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r--parsing/g_constr.ml44
1 files changed, 2 insertions, 2 deletions
diff --git a/parsing/g_constr.ml4 b/parsing/g_constr.ml4
index 01b770288a..a32190b6d6 100644
--- a/parsing/g_constr.ml4
+++ b/parsing/g_constr.ml4
@@ -181,7 +181,7 @@ GEXTEND Gram
CDelimiters (loc,key,c) ] ]
;
lconstr:
- [ "10"
+ [ "10" NONA
[ "!"; f = global; args = LIST0 constr9 -> CAppExpl (loc, f, args)
(*
| "!"; f = global; "with"; b = binding_list ->
@@ -196,7 +196,7 @@ GEXTEND Gram
| c = constr9 -> (c, None) ] ]
;
constr9:
- [ [ c1 = constr -> c1
+ [ NONA [ c1 = constr -> c1
| c1 = constr; "::"; c2 = constr -> CCast (loc, c1, c2) ] ]
;
ne_name_comma_list: