aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--translate/pptacticnew.ml6
1 files changed, 6 insertions, 0 deletions
diff --git a/translate/pptacticnew.ml b/translate/pptacticnew.ml
index 8972683fd6..bad3ac90f2 100644
--- a/translate/pptacticnew.ml
+++ b/translate/pptacticnew.ml
@@ -130,6 +130,12 @@ let translate_v7_ltac = function
| "SimplAllMonoms" -> "simpl_all_monomials"
| "AssocDistrib" -> "assoc_distrib"
| "NowShow" -> "now_show"
+ | ("subst"|"simpl"|"elim"|"destruct"|"apply"|"intro" (* ... *)) as x ->
+ let x' = x^"_" in
+ msgerrnl
+ (str ("Warning: '"^
+ x^"' is now a primitive tactic; it has been translated to '"^x'^"'"));
+ x'
| x -> x
let id_of_ltac_v7_id id =