aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
Diffstat (limited to 'doc')
-rw-r--r--doc/changelog/03-notations/11650-parensNew.rst4
-rw-r--r--doc/sphinx/user-extensions/syntax-extensions.rst5
2 files changed, 9 insertions, 0 deletions
diff --git a/doc/changelog/03-notations/11650-parensNew.rst b/doc/changelog/03-notations/11650-parensNew.rst
new file mode 100644
index 0000000000..5e2da594c6
--- /dev/null
+++ b/doc/changelog/03-notations/11650-parensNew.rst
@@ -0,0 +1,4 @@
+- **Added:**
+ added option Set Printing Parentheses to print parentheses even when implied by associativity or precedence.
+ (`#11650 <https://github.com/coq/coq/pull/11650>`_,
+ by Hugo Herbelin and Abhishek Anand).
diff --git a/doc/sphinx/user-extensions/syntax-extensions.rst b/doc/sphinx/user-extensions/syntax-extensions.rst
index 8bfcab0f4e..c568f13c12 100644
--- a/doc/sphinx/user-extensions/syntax-extensions.rst
+++ b/doc/sphinx/user-extensions/syntax-extensions.rst
@@ -396,6 +396,11 @@ Displaying information about notations
Controls whether to use notations for printing terms wherever possible.
Default is on.
+.. flag:: Printing Parentheses
+
+ If on, parentheses are printed even if implied by associativity and precedence
+ Default is off.
+
.. seealso::
:flag:`Printing All`