diff options
| author | Jasper Hugunin | 2018-07-16 14:04:29 -0700 |
|---|---|---|
| committer | Jasper Hugunin | 2018-07-23 15:08:38 -0700 |
| commit | b4e88c15da749b3edbd56cb70bf280a8e7bbfc3c (patch) | |
| tree | cd86bbc5dcf2c5a058c80183b5993561e3b3ac04 | |
| parent | 32415df7e24d4d79a00fae95a5f619980b006c61 (diff) | |
Add test for repeated section with same name
| -rw-r--r-- | CHANGES | 1 | ||||
| -rw-r--r-- | doc/sphinx/language/gallina-extensions.rst | 3 | ||||
| -rw-r--r-- | test-suite/bugs/closed/8081.v | 4 |
3 files changed, 7 insertions, 1 deletions
@@ -78,6 +78,7 @@ Vernacular Commands - The `Set SsrHave NoTCResolution` command no longer has special global scope. If you want the previous behavior, use `Global Set SsrHave NoTCResolution`. +- Multiple sections with the same name are allowed. Coq binaries and process model diff --git a/doc/sphinx/language/gallina-extensions.rst b/doc/sphinx/language/gallina-extensions.rst index d9b2490452..394b928ada 100644 --- a/doc/sphinx/language/gallina-extensions.rst +++ b/doc/sphinx/language/gallina-extensions.rst @@ -781,7 +781,8 @@ Section :ref:`gallina-definitions`). .. cmd:: Section @ident - This command is used to open a section named `ident`. + This command is used to open a section named :token:`ident`. + Section names do not need to be unique. .. cmd:: End @ident diff --git a/test-suite/bugs/closed/8081.v b/test-suite/bugs/closed/8081.v new file mode 100644 index 0000000000..0f2501aaa8 --- /dev/null +++ b/test-suite/bugs/closed/8081.v @@ -0,0 +1,4 @@ +Section foo. +End foo. +Section foo. +End foo. |
