aboutsummaryrefslogtreecommitdiff
path: root/intf
diff options
context:
space:
mode:
authorMaxime Dénès2017-06-14 17:57:28 +0200
committerMaxime Dénès2017-06-14 17:57:28 +0200
commitd7dc4d4082d76e480b6d9932dcfad64249565e80 (patch)
tree47c24efb25606259c3e0d9c2ac4da2160880a47e /intf
parent510879170dae6edb989c76a96ded0ed00f192173 (diff)
parentf713e6c195d1de177b43cab7c2902f5160f6af9f (diff)
Merge PR#513: A fix to #5414 (ident bound by ltac names now known for "match").
Diffstat (limited to 'intf')
-rw-r--r--intf/glob_term.ml16
1 files changed, 16 insertions, 0 deletions
diff --git a/intf/glob_term.ml b/intf/glob_term.ml
index 5da20c9d1c..a35dae4aae 100644
--- a/intf/glob_term.ml
+++ b/intf/glob_term.ml
@@ -95,3 +95,19 @@ type closure = {
and closed_glob_constr = {
closure: closure;
term: glob_constr }
+
+(** Ltac variable maps *)
+type var_map = Pattern.constr_under_binders Id.Map.t
+type uconstr_var_map = closed_glob_constr Id.Map.t
+type unbound_ltac_var_map = Geninterp.Val.t Id.Map.t
+
+type ltac_var_map = {
+ ltac_constrs : var_map;
+ (** Ltac variables bound to constrs *)
+ ltac_uconstrs : uconstr_var_map;
+ (** Ltac variables bound to untyped constrs *)
+ ltac_idents: Id.t Id.Map.t;
+ (** Ltac variables bound to identifiers *)
+ ltac_genargs : unbound_ltac_var_map;
+ (** Ltac variables bound to other kinds of arguments *)
+}