From c538feb03d46be62f04af35cc90baf2124afcbc1 Mon Sep 17 00:00:00 2001 From: herbelin Date: Sat, 21 Dec 2002 10:19:14 +0000 Subject: Plus de notation cablees dans 'annot' git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3470 85f007b7-540e-0410-9357-904b9bb8a0f7 --- parsing/g_constr.ml4 | 3 +++ 1 file changed, 3 insertions(+) diff --git a/parsing/g_constr.ml4 b/parsing/g_constr.ml4 index a39601099c..d98388fd7f 100644 --- a/parsing/g_constr.ml4 +++ b/parsing/g_constr.ml4 @@ -220,6 +220,9 @@ GEXTEND Gram CProdN (loc, (id1::id2::idl, c)::bl, body) | "("; lc1 = lconstr; ")" -> lc1 | c1 = annot; "->"; c2 = annot -> CArrow (loc, c1, c2) + | c1 = annot; "\\/"; c2 = annot -> CNotation (loc, "_ \\/ _", [c1;c2]) + | c1 = annot; "/\\"; c2 = annot -> CNotation (loc, "_ /\\ _", [c1;c2]) + | "~"; c = SELF -> CNotation (loc, "~ _", [c]) | c1 = SELF; "=="; c2 = NEXT -> CNotation (loc, "_ == _", [c1;c2]) | c1 = SELF; "="; c2 = NEXT -> CNotation (loc, "_ = _", [c1;c2]) | c = constr LEVEL "4L" -> c -- cgit v1.2.3