aboutsummaryrefslogtreecommitdiff
path: root/tactics
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2013-11-26 21:17:01 +0100
committerPierre-Marie Pédrot2013-11-26 21:22:20 +0100
commite057d9cb8276d1d727825a940673bfb95660ddf5 (patch)
tree04229e6c8a7d0f3b9e9b7cda4aa4697f2eb8dad0 /tactics
parent51d4da4ac126b4b3bb033ec88253866345594e01 (diff)
Do not use ugly Dyn features in the Quote plugin. Use instead the
provided tactic environment to handle open terms.
Diffstat (limited to 'tactics')
-rw-r--r--tactics/tacinterp.ml4
-rw-r--r--tactics/tacinterp.mli3
2 files changed, 7 insertions, 0 deletions
diff --git a/tactics/tacinterp.ml b/tactics/tacinterp.ml
index 4e20c2fa9f..845b3ad9fb 100644
--- a/tactics/tacinterp.ml
+++ b/tactics/tacinterp.ml
@@ -2072,6 +2072,10 @@ let eval_tactic t =
Proofview.tclLIFT db_initialize <*>
interp_tactic (default_ist ()) t
+let eval_tactic_ist ist t =
+ Proofview.tclLIFT db_initialize <*>
+ interp_tactic ist t
+
(* globalization + interpretation *)
diff --git a/tactics/tacinterp.mli b/tactics/tacinterp.mli
index 5a1e12923a..6a236afda1 100644
--- a/tactics/tacinterp.mli
+++ b/tactics/tacinterp.mli
@@ -93,6 +93,9 @@ val interp_open_constr_with_bindings : interp_sign -> Environ.env -> Evd.evar_ma
val eval_tactic : glob_tactic_expr -> unit Proofview.tactic
+val eval_tactic_ist : interp_sign -> glob_tactic_expr -> unit Proofview.tactic
+(** Same as [eval_tactic], but with the provided [interp_sign]. *)
+
(** Globalization + interpretation *)
val interp_tac_gen : value Id.Map.t -> Id.t list ->