aboutsummaryrefslogtreecommitdiffhomepage
path: root/intf
diff options
context:
space:
mode:
authorGravatar Maxime Dénès <mail@maximedenes.fr>2017-08-01 13:01:25 +0200
committerGravatar Maxime Dénès <mail@maximedenes.fr>2017-08-01 13:01:25 +0200
commit6c179759a5c117b24abe5466ee860f1f7fb29dac (patch)
treedd15e6023c925db50541107fe1487307dd2d1039 /intf
parent662d6581c852496d5bb62e27893810e2514cdfbb (diff)
parentada7875e95cba2f08902c55cfd3f69d6cc80cac3 (diff)
Merge PR #834: Adding support for recursive notations of the form "x , .. , y , z".
Diffstat (limited to 'intf')
-rw-r--r--intf/notation_term.ml5
1 files changed, 3 insertions, 2 deletions
diff --git a/intf/notation_term.ml b/intf/notation_term.ml
index 0fa0afdad..cee96040b 100644
--- a/intf/notation_term.ml
+++ b/intf/notation_term.ml
@@ -83,9 +83,10 @@ type notation_interp_env = {
type grammar_constr_prod_item =
| GramConstrTerminal of Tok.t
| GramConstrNonTerminal of Extend.constr_prod_entry_key * Id.t option
- | GramConstrListMark of int * bool
+ | GramConstrListMark of int * bool * int
(* tells action rule to make a list of the n previous parsed items;
- concat with last parsed list if true *)
+ concat with last parsed list when true; additionally release
+ the p last items as if they were parsed autonomously *)
type notation_grammar = {
notgram_level : int;