File 4841-Correct-some-details-in-the-operator-table.patch of Package erlang
From e91f8ddc34b7dd8a8c21bc4b3664c902857b4c98 Mon Sep 17 00:00:00 2001
From: =?UTF-8?q?Bj=C3=B6rn=20Gustavsson?= <bjorn@erlang.org>
Date: Thu, 15 Dec 2022 09:41:15 +0100
Subject: [PATCH] Correct some details in the operator table
* Change "priority" to the standard terminology "precedence".
* Document the changed precedence of the `catch` operator.
* Mention the restrictions of `?=` in a note after the operand table.
* Mark the non-associative binary operators as such in the operand table.
---
system/doc/reference_manual/expressions.xml | 64 +++++++++++++++------
1 file changed, 46 insertions(+), 18 deletions(-)
diff --git a/system/doc/reference_manual/expressions.xml b/system/doc/reference_manual/expressions.xml
index 341fa32432..5b96c50065 100644
--- a/system/doc/reference_manual/expressions.xml
+++ b/system/doc/reference_manual/expressions.xml
@@ -2003,8 +2003,8 @@ end</pre>
</row>
<tcaption>Operator Precedence</tcaption>
</table>
- <p>Before Erlang/OTP 24, the <c>catch</c> operator had the lowest
- precedence.</p>
+ <change><p>Before Erlang/OTP 24, the <c>catch</c> operator had the lowest
+ precedence.</p></change>
<p>When evaluating an expression, the operator with the highest
precedence is evaluated first. Operators with the same precedence
are evaluated according to their associativity. Non-associative
--
2.35.3