aboutsummaryrefslogtreecommitdiff
path: root/intf
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2016-06-06 20:16:32 +0200
committerPierre-Marie Pédrot2016-06-07 15:42:49 +0200
commit5520db62486ad628f91737833623aa69c4c1b8af (patch)
tree854f2dd80c0c1b0d1167996f452f507a9ecececa /intf
parent33f7d95a655add1967b5c520eb05e816963e1936 (diff)
Removing the use to Egramcoq.recover_constr_grammar.
Diffstat (limited to 'intf')
-rw-r--r--intf/notation_term.mli15
1 files changed, 15 insertions, 0 deletions
diff --git a/intf/notation_term.mli b/intf/notation_term.mli
index 7c5d7657be..c7c301629e 100644
--- a/intf/notation_term.mli
+++ b/intf/notation_term.mli
@@ -78,3 +78,18 @@ type notation_interp_env = {
ninterp_rec_vars : Id.t Id.Map.t;
mutable ninterp_only_parse : bool;
}
+
+type grammar_constr_prod_item =
+ | GramConstrTerminal of Tok.t
+ | GramConstrNonTerminal of Extend.constr_prod_entry_key * Id.t option
+ | GramConstrListMark of int * bool
+ (* tells action rule to make a list of the n previous parsed items;
+ concat with last parsed list if true *)
+
+type notation_grammar = {
+ notgram_level : int;
+ notgram_assoc : Extend.gram_assoc option;
+ notgram_notation : Constrexpr.notation;
+ notgram_prods : grammar_constr_prod_item list list;
+ notgram_typs : notation_var_internalization_type list;
+}