aboutsummaryrefslogtreecommitdiff
path: root/plugins/romega
diff options
context:
space:
mode:
authorPierre-Marie Pédrot2018-09-11 11:46:10 +0200
committerPierre-Marie Pédrot2018-09-11 11:46:10 +0200
commit2f0e274a1436b477e0be0be94a36ee9461a89767 (patch)
tree536189bce5ef6f21565fb32534bae11cc37ead2a /plugins/romega
parentf3475cd1a68f632b1e6522975354c7dcc1acd6bb (diff)
parentddc25ec6150005e949442d422549fbc213d8f4af (diff)
Merge PR #8425: Deprecate romega in favor of lia
Diffstat (limited to 'plugins/romega')
-rw-r--r--plugins/romega/g_romega.mlg8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/romega/g_romega.mlg b/plugins/romega/g_romega.mlg
index c1ce30027e..ac4f30b1db 100644
--- a/plugins/romega/g_romega.mlg
+++ b/plugins/romega/g_romega.mlg
@@ -41,14 +41,22 @@ let romega_tactic unsafe l =
(Tactics.intros)
(total_reflexive_omega_tactic unsafe))
+let romega_depr =
+ Vernacinterp.mk_deprecation
+ ~since:(Some "8.9")
+ ~note:(Some "Use lia instead.")
+ ()
+
}
TACTIC EXTEND romega
+DEPRECATED { romega_depr }
| [ "romega" ] -> { romega_tactic false [] }
| [ "unsafe_romega" ] -> { romega_tactic true [] }
END
TACTIC EXTEND romega'
+DEPRECATED { romega_depr }
| [ "romega" "with" ne_ident_list(l) ] ->
{ romega_tactic false (List.map Names.Id.to_string l) }
| [ "romega" "with" "*" ] -> { romega_tactic false ["nat";"positive";"N";"Z"] }