aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Fehrle2020-09-11 22:18:49 -0700
committerJim Fehrle2020-09-14 15:09:49 -0700
commit56ff177f4bb384ed92198fd7f1c5a91aa1f099ff (patch)
treee58978bf796762f455ae20535f76af805f098c04
parente0b8b4684eaf76f897ac708ffddbb8e4977ac754 (diff)
Remove deprecated Extraction Language command value "Ocaml"
-rw-r--r--doc/changelog/07-commands-and-options/13016-remove-Ocaml-value.rst4
-rw-r--r--plugins/extraction/g_extraction.mlg6
2 files changed, 4 insertions, 6 deletions
diff --git a/doc/changelog/07-commands-and-options/13016-remove-Ocaml-value.rst b/doc/changelog/07-commands-and-options/13016-remove-Ocaml-value.rst
new file mode 100644
index 0000000000..c67b0f6e80
--- /dev/null
+++ b/doc/changelog/07-commands-and-options/13016-remove-Ocaml-value.rst
@@ -0,0 +1,4 @@
+- **Removed:**
+ In the :cmd:`Extraction Language` command, remove `Ocaml` as a valid value.
+ Use `OCaml` instead. This was deprecated in Coq 8.8, `#6261 <https://github.com/coq/coq/pull/6261>`_
+ (`#13016 <https://github.com/coq/coq/pull/13016>`_, by Jim Fehrle).
diff --git a/plugins/extraction/g_extraction.mlg b/plugins/extraction/g_extraction.mlg
index 094f87f154..da7ed7be64 100644
--- a/plugins/extraction/g_extraction.mlg
+++ b/plugins/extraction/g_extraction.mlg
@@ -60,16 +60,10 @@ let pr_language = function
| Scheme -> str "Scheme"
| JSON -> str "JSON"
-let warn_deprecated_ocaml_spelling =
- CWarnings.create ~name:"deprecated-ocaml-spelling" ~category:"deprecated"
- (fun () ->
- strbrk ("The spelling \"OCaml\" should be used instead of \"Ocaml\"."))
-
}
VERNAC ARGUMENT EXTEND language
PRINTED BY { pr_language }
-| [ "Ocaml" ] -> { let _ = warn_deprecated_ocaml_spelling () in Ocaml }
| [ "OCaml" ] -> { Ocaml }
| [ "Haskell" ] -> { Haskell }
| [ "Scheme" ] -> { Scheme }