aboutsummaryrefslogtreecommitdiff
path: root/parsing
diff options
context:
space:
mode:
authorMaxime Dénès2019-12-19 12:45:28 +0100
committerMaxime Dénès2019-12-20 13:27:13 +0100
commit7149fef354d55f4b5012eac7efa15b4e7bac3d38 (patch)
treeab27bfa6035490d65205702854d34dd16411c029 /parsing
parent5c667d56cd0a441f787019aef44bf18bec9c7b20 (diff)
Fix handling of recursive notations with custom entries
Fixes #9532 Fixes #9490
Diffstat (limited to 'parsing')
-rw-r--r--parsing/extend.ml2
1 files changed, 1 insertions, 1 deletions
diff --git a/parsing/extend.ml b/parsing/extend.ml
index ed6ebe5aed..dcdaa25c33 100644
--- a/parsing/extend.ml
+++ b/parsing/extend.ml
@@ -54,7 +54,7 @@ type constr_prod_entry_key =
| ETProdBigint (* Parsed as an (unbounded) integer *)
| ETProdConstr of Constrexpr.notation_entry * (production_level * production_position) (* Parsed as constr or pattern, or a subentry of those *)
| ETProdPattern of int (* Parsed as pattern as a binder (as subpart of a constr) *)
- | ETProdConstrList of (production_level * production_position) * string Tok.p list (* Parsed as non-empty list of constr *)
+ | ETProdConstrList of Constrexpr.notation_entry * (production_level * production_position) * string Tok.p list (* Parsed as non-empty list of constr, or subentries of those *)
| ETProdBinderList of binder_entry_kind (* Parsed as non-empty list of local binders *)
(** {5 AST for user-provided entries} *)