aboutsummaryrefslogtreecommitdiffhomepage
path: root/parsing/g_constr.ml4
diff options
context:
space:
mode:
authorGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2007-04-10 16:36:36 +0000
committerGravatar herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7>2007-04-10 16:36:36 +0000
commit8aa6ed2d10ddefb348f98684e691e25e4866b6ca (patch)
treec286ad9f175e2c3088ea162da9df649134e15fa4 /parsing/g_constr.ml4
parent1fcdaed7fea598ff2724095c5476e8bdc04ef48a (diff)
Remontée de constr de 1 à 5 (pour permettre des notations entre 1 et 5
tout en évitant que les .. soient dans constr) git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@9755 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'parsing/g_constr.ml4')
-rw-r--r--parsing/g_constr.ml43
1 files changed, 2 insertions, 1 deletions
diff --git a/parsing/g_constr.ml4 b/parsing/g_constr.ml4
index bdea94a04..f2316ec5e 100644
--- a/parsing/g_constr.ml4
+++ b/parsing/g_constr.ml4
@@ -131,7 +131,7 @@ GEXTEND Gram
[ [ c = operconstr LEVEL "200" -> c ] ]
;
constr:
- [ [ c = operconstr LEVEL "1" -> c ] ]
+ [ [ c = operconstr LEVEL "5" -> c ] ]
;
operconstr:
[ "200" RIGHTA
@@ -160,6 +160,7 @@ GEXTEND Gram
| "9"
[ ".."; c = operconstr LEVEL "0"; ".." ->
CAppExpl (loc,(None,Ident (loc,Topconstr.ldots_var)),[c]) ]
+ | "5" LEFTA [ ]
| "1" LEFTA
[ c=operconstr; ".("; f=global; args=LIST0 appl_arg; ")" ->
CApp(loc,(Some (List.length args+1),CRef f),args@[c,None])