diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2002-12-21 10:19:14 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2002-12-21 10:19:14 +0000 |
commit | c538feb03d46be62f04af35cc90baf2124afcbc1 (patch) | |
tree | 8c970e693bd6c358f77f8734cd8c8f00b1e8d09e | |
parent | 3469f39e27eb53f08454900de28d8a5b0d79095f (diff) |
Plus de notation cablees dans 'annot'
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3470 85f007b7-540e-0410-9357-904b9bb8a0f7
-rw-r--r-- | parsing/g_constr.ml4 | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/parsing/g_constr.ml4 b/parsing/g_constr.ml4 index a39601099..d98388fd7 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 |