aboutsummaryrefslogtreecommitdiff
path: root/parsing/notation_gram.ml
diff options
context:
space:
mode:
Diffstat (limited to 'parsing/notation_gram.ml')
-rw-r--r--parsing/notation_gram.ml10
1 files changed, 2 insertions, 8 deletions
diff --git a/parsing/notation_gram.ml b/parsing/notation_gram.ml
index 7940931dfc..045f497070 100644
--- a/parsing/notation_gram.ml
+++ b/parsing/notation_gram.ml
@@ -9,13 +9,6 @@
(************************************************************************)
open Names
-open Extend
-open Constrexpr
-
-(** Dealing with precedences *)
-
-type level = notation_entry * entry_level * entry_relative_level list * constr_entry_key list
- (* first argument is InCustomEntry s for custom entries *)
type grammar_constr_prod_item =
| GramConstrTerminal of string Tok.p
@@ -28,10 +21,11 @@ type grammar_constr_prod_item =
(** Grammar rules for a notation *)
type one_notation_grammar = {
- notgram_level : level;
+ notgram_level : Notation.level;
notgram_assoc : Gramlib.Gramext.g_assoc option;
notgram_notation : Constrexpr.notation;
notgram_prods : grammar_constr_prod_item list list;
+ notgram_typs : Extend.constr_entry_key list;
}
type notation_grammar = one_notation_grammar list