aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-04-03 10:56:25 -0400
committerEmilio Jesus Gallego Arias2020-04-03 10:56:25 -0400
commit8a3255bc99691c7c0f9b386e63b7947169f902b7 (patch)
treeebffb272641a2b63a6217692a6c64fc1fa83e3ad
parenta37814ae4df4a97c0b5bdbef68d72e52412e5467 (diff)
parent7540acc5f0ced610d9fc10560d75990be3c9cd9a (diff)
Merge PR #11895: Remove Chapter command.
Reviewed-by: ejgallego
-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 }