aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThéo Zimmermann2020-03-24 11:37:10 +0100
committerThéo Zimmermann2020-04-02 14:26:06 +0200
commit7540acc5f0ced610d9fc10560d75990be3c9cd9a (patch)
tree5035e40858f34c4280c7928d07cc83a1f38c9b46
parent971c8e12078980417c5865948b742dee38bd8593 (diff)
Remove Chapter command.
This was an undocumented equivalent of the Section command.
-rw-r--r--doc/changelog/07-commands-and-options/11746-remove-chapter.rst3
-rw-r--r--vernac/g_vernac.mlg1
2 files changed, 3 insertions, 1 deletions
diff --git a/doc/changelog/07-commands-and-options/11746-remove-chapter.rst b/doc/changelog/07-commands-and-options/11746-remove-chapter.rst
new file mode 100644
index 0000000000..0316432b0a
--- /dev/null
+++ b/doc/changelog/07-commands-and-options/11746-remove-chapter.rst
@@ -0,0 +1,3 @@
+- **Removed:** undocumented ``Chapter`` command. Use :cmd:`Section`
+ instead (`#11746 <https://github.com/coq/coq/pull/11746>`_, by Théo
+ Zimmermann).
diff --git a/vernac/g_vernac.mlg b/vernac/g_vernac.mlg
index a1cdc718d7..6de20c64a5 100644
--- a/vernac/g_vernac.mlg
+++ b/vernac/g_vernac.mlg
@@ -552,7 +552,6 @@ GRAMMAR EXTEND Gram
{ VernacDeclareModule (export, id, bl, mty) }
(* Section beginning *)
| IDENT "Section"; id = identref -> { VernacBeginSection id }
- | IDENT "Chapter"; id = identref -> { VernacBeginSection id }
(* This end a Section a Module or a Module Type *)
| IDENT "End"; id = identref -> { VernacEndSegment id }