aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--tactics/auto.ml2
-rw-r--r--tactics/eauto.ml42
2 files changed, 2 insertions, 2 deletions
diff --git a/tactics/auto.ml b/tactics/auto.ml
index d805b3ac76..ec32c643b5 100644
--- a/tactics/auto.ml
+++ b/tactics/auto.ml
@@ -914,7 +914,7 @@ and tac_of_hint db_list local_db concl (flags, {pat=p; code=t}) =
(trivial_fail_db (flags <> None) db_list local_db)
| Unfold_nth c -> (fun gl ->
if exists_evaluable_reference (pf_env gl) c then
- tclPROGRESS (unfold_in_concl [all_occurrences,c]) gl
+ tclPROGRESS (h_reduce (Unfold [all_occurrences_expr,c]) onConcl) gl
else tclFAIL 0 (str"Unbound reference") gl)
| Extern tacast -> conclPattern concl p tacast
diff --git a/tactics/eauto.ml4 b/tactics/eauto.ml4
index 0a5a9c481b..b0fef2b71b 100644
--- a/tactics/eauto.ml4
+++ b/tactics/eauto.ml4
@@ -134,7 +134,7 @@ and e_my_find_search db_list local_db hdc concl =
| Res_pf_THEN_trivial_fail (term,cl) ->
tclTHEN (unify_e_resolve st (term,cl))
(e_trivial_fail_db db_list local_db)
- | Unfold_nth c -> unfold_in_concl [all_occurrences,c]
+ | Unfold_nth c -> h_reduce (Unfold [all_occurrences_expr,c]) onConcl
| Extern tacast -> conclPattern concl p tacast
in
(tac,pr_autotactic t))