From a071b0e6d2b1f09d2292d719c33b0b1ee91f0918 Mon Sep 17 00:00:00 2001 From: Ryan Liptak Date: Tue, 20 Oct 2026 14:43:03 -0700 Subject: [PATCH] langref: simplify precedence tables The details about which operators are ambiguous with which other operators are superfluous and get in the way of what these tables are meant to convey. --- doc/langref.html.in | 35 +++++++---------------------------- 1 file changed, 7 insertions(+), 28 deletions(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 0a57deea52f9ea3917336304810decddae6516ee..83dee670a124ffb2e99621645722f4a5e3997dbf 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -1923,49 +1923,28 @@ x{} as have the operators with higher precedence (those shown above).

- - - -

For arithmetic operators:

-
* / *% *| %
+      
{#syntax#}* / *% *| %
 + - +% -% +| -|
-== != < > <= >=
-and or
+== != < > <= >= +and or{#endsyntax#}

For bitwise operators:

-
<< <<| >> & ^ |
-== != < > <= >=
-and or
+
{#syntax#}<< <<| >> & ^ |
+== != < > <= >=
+and or{#endsyntax#}

For null and error recovery operators:

-
catch orelse
+
{#syntax#}catch orelse{#endsyntax#}

For error set operators: -- 2.54.0