aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorcoqbot-app[bot]2021-04-21 17:54:37 +0000
committerGitHub2021-04-21 17:54:37 +0000
commitb8b8c73a4f62a8fb964e82c7c779a1aba3264bf4 (patch)
tree1f34a2351075ef3570490b0f8b73c2824520589c /doc
parentf9996cdaf0b6aee12c5b71432b1edb90dffb569a (diff)
parentf6e393dae62afbb659eab64a530c0cf39403c495 (diff)
Merge PR #14094: Properly pass the Ltac2 notation level to the gramlib API.
Reviewed-by: JasonGross Ack-by: jfehrle
Diffstat (limited to 'doc')
-rw-r--r--doc/changelog/05-tactic-language/14094-ltac2-notation-level-fix.rst5
-rw-r--r--doc/sphinx/proof-engine/ltac2.rst4
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/changelog/05-tactic-language/14094-ltac2-notation-level-fix.rst b/doc/changelog/05-tactic-language/14094-ltac2-notation-level-fix.rst
new file mode 100644
index 0000000000..41bc3329c1
--- /dev/null
+++ b/doc/changelog/05-tactic-language/14094-ltac2-notation-level-fix.rst
@@ -0,0 +1,5 @@
+- **Fixed:**
+ Ltac2 notations now correctly take into account their assigned level
+ (`#14094 <https://github.com/coq/coq/pull/14094>`_,
+ fixes `#11866 <https://github.com/coq/coq/issues/11866>`_,
+ by Pierre-Marie Pédrot).
diff --git a/doc/sphinx/proof-engine/ltac2.rst b/doc/sphinx/proof-engine/ltac2.rst
index 25ac72069b..52cf565998 100644
--- a/doc/sphinx/proof-engine/ltac2.rst
+++ b/doc/sphinx/proof-engine/ltac2.rst
@@ -1251,6 +1251,10 @@ Notations
This command supports the :attr:`deprecated` attribute.
+ .. exn:: Notation levels must range between 0 and 6.
+
+ The level of a notation must be an integer between 0 and 6 inclusive.
+
Abbreviations
~~~~~~~~~~~~~