From 46d8e010a035a88df322c4841d355211f93644f8 Mon Sep 17 00:00:00 2001 From: Matthew Borkowski Date: Mon, 24 May 2021 16:58:20 -0400 Subject: [PATCH 1/2] fix position of `orelse` and `catch` in precedence table and remove misplaced error union operator --- doc/langref.html.in | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 8ebe7fb594..7c9b1ff7bc 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -1762,14 +1762,13 @@ const B = error{Two}; a!b x{} x.* x.? !x -x -%x ~x &x ?x -! * / % ** *% || +* / % ** *% || + - ++ +% -% << >> -& ^ | +& ^ | orelse catch == != < > <= >= and or -orelse catch = *= /= %= += -= <<= >>= &= ^= |={#endsyntax#} {#header_close#} {#header_close#} From b01e5d93016338c7d2581e7a075d270620e206e1 Mon Sep 17 00:00:00 2001 From: Matthew Borkowski Date: Tue, 25 May 2021 00:09:28 -0400 Subject: [PATCH 2/2] fix position of `.*` and `.?` in operator precedence table documentation --- doc/langref.html.in | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/doc/langref.html.in b/doc/langref.html.in index 7c9b1ff7bc..476848a02f 100644 --- a/doc/langref.html.in +++ b/doc/langref.html.in @@ -1758,9 +1758,9 @@ const B = error{Two}; {#header_close#} {#header_open|Precedence#} -
{#syntax#}x() x[] x.y
+      
{#syntax#}x() x[] x.y x.* x.?
 a!b
-x{} x.* x.?
+x{}
 !x -x -%x ~x &x ?x
 * / % ** *% ||
 + - ++ +% -%