aboutsummaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorEmilio Jesus Gallego Arias2020-02-27 15:52:45 -0500
committerEmilio Jesus Gallego Arias2020-02-27 15:52:45 -0500
commitaeca986089d005054496ed4bcf1b920e8fa02173 (patch)
tree074acf720a9969ba3f0d5585edc1351243105fd4 /doc
parentc160fc0da9bef60c4ee469cc2c35afd83fc16243 (diff)
parent5ece9623e54ce2a87440c889364c3d1ad5eb52c5 (diff)
Merge PR #11650: Set Printing Parens
Reviewed-by: ejgallego
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`