diff options
author | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2002-10-22 15:41:22 +0000 |
---|---|---|
committer | herbelin <herbelin@85f007b7-540e-0410-9357-904b9bb8a0f7> | 2002-10-22 15:41:22 +0000 |
commit | b64e6112b187edcd96816b1728aed6f4de233554 (patch) | |
tree | cae32b973e2495507429dd0c6afce79f9fcef74d /toplevel/vernacexpr.ml | |
parent | 6dc2847536b74df5a4a2e28ba5a990d89b003296 (diff) |
Redéplacement de + (sum) et * (prod) au niveau de + et * de l'arithmétique; ajout d'une option 'level' pour Notation; utilisation de Notation pour sumor et sumbool
git-svn-id: svn+ssh://scm.gforge.inria.fr/svn/coq/trunk@3173 85f007b7-540e-0410-9357-904b9bb8a0f7
Diffstat (limited to 'toplevel/vernacexpr.ml')
-rw-r--r-- | toplevel/vernacexpr.ml | 10 |
1 files changed, 7 insertions, 3 deletions
diff --git a/toplevel/vernacexpr.ml b/toplevel/vernacexpr.ml index d2ad10bb6..7ea61dd6e 100644 --- a/toplevel/vernacexpr.ml +++ b/toplevel/vernacexpr.ml @@ -165,6 +165,7 @@ type local_decl_expr = | AssumExpr of identifier * constr_ast | DefExpr of identifier * constr_ast * constr_ast option +type precedence = int type grammar_entry_ast = (loc * string) * Ast.entry_type option * grammar_associativity * raw_grammar_rule list @@ -188,11 +189,14 @@ type vernac_expr = | VernacDelimiters of scope_name * (string * string) | VernacArgumentsScope of qualid located * scope_name option list | VernacInfix of - grammar_associativity * int * string * qualid located * scope_name option + grammar_associativity * precedence * string * qualid located + * scope_name option | VernacDistfix of - grammar_associativity * int * string * qualid located * scope_name option + grammar_associativity * precedence * string * qualid located + * scope_name option | VernacNotation of - grammar_associativity * int * string * constr_ast * scope_name option + grammar_associativity * precedence * string * constr_ast + * (string * precedence) list * scope_name option (* Gallina *) | VernacDefinition of definition_kind * identifier * definition_expr * |