aboutsummaryrefslogtreecommitdiff
path: root/interp/constrexpr.ml
diff options
context:
space:
mode:
authorMaxime Dénès2020-06-16 17:09:40 +0200
committerMaxime Dénès2020-07-03 13:13:02 +0200
commit53e19f76624b7a18792af799e970e9478f8e90a9 (patch)
treeb852fd1e116ff72748210a11bc95298453ac2e4d /interp/constrexpr.ml
parent33581635d3ad525e1d5c2fb2587be345a7e77009 (diff)
Fix #11121: Simultaneous definition of term and notation in custom grammar
Diffstat (limited to 'interp/constrexpr.ml')
-rw-r--r--interp/constrexpr.ml4
1 files changed, 2 insertions, 2 deletions
diff --git a/interp/constrexpr.ml b/interp/constrexpr.ml
index 21f682ac0e..9c4b78f4ed 100644
--- a/interp/constrexpr.ml
+++ b/interp/constrexpr.ml
@@ -29,10 +29,10 @@ type notation_entry_level = InConstrEntrySomeLevel | InCustomEntryLevel of strin
type notation_key = string
(* A notation associated to a given parsing rule *)
-type notation = notation_entry_level * notation_key
+type notation = notation_entry * notation_key
(* A notation associated to a given interpretation *)
-type specific_notation = notation_with_optional_scope * notation
+type specific_notation = notation_with_optional_scope * (notation_entry * notation_key)
type 'a or_by_notation_r =
| AN of 'a