diff options
| author | Théo Zimmermann | 2020-03-26 20:45:09 +0100 |
|---|---|---|
| committer | Théo Zimmermann | 2020-03-26 20:45:09 +0100 |
| commit | 3a34d96a9a8b570ca0c1e186d7c99683b3841e69 (patch) | |
| tree | 358a0193069d6eae3836701f1cc1ca799533fce3 /plugins | |
| parent | 8457ddd63ba4a7afa68409528f165bac0ee18126 (diff) | |
| parent | 274ed99f9964b802e0a340c39ad69de4cabf37ff (diff) | |
Merge PR #11877: Removing deprecated destruct/remember syntax _eqn.
Reviewed-by: Zimmi48
Diffstat (limited to 'plugins')
| -rw-r--r-- | plugins/ltac/g_tactic.mlg | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/plugins/ltac/g_tactic.mlg b/plugins/ltac/g_tactic.mlg index 5a26ac8827..6a158bde17 100644 --- a/plugins/ltac/g_tactic.mlg +++ b/plugins/ltac/g_tactic.mlg @@ -185,10 +185,6 @@ let merge_occurrences loc cl = function in (Some p, ans) -let warn_deprecated_eqn_syntax = - CWarnings.create ~name:"deprecated-eqn-syntax" ~category:"deprecated" - (fun arg -> strbrk (Printf.sprintf "Syntax \"_eqn:%s\" is deprecated. Please use \"eqn:%s\" instead." arg arg)) - (* Auxiliary grammar rules *) open Pvernac.Vernac_ @@ -461,10 +457,6 @@ GRAMMAR EXTEND Gram ; eqn_ipat: [ [ IDENT "eqn"; ":"; pat = naming_intropattern -> { Some (CAst.make ~loc pat) } - | IDENT "_eqn"; ":"; pat = naming_intropattern -> - { warn_deprecated_eqn_syntax ~loc "H"; Some (CAst.make ~loc pat) } - | IDENT "_eqn" -> - { warn_deprecated_eqn_syntax ~loc "?"; Some (CAst.make ~loc IntroAnonymous) } | -> { None } ] ] ; as_name: |
