commit 5c251604521868ccd0cb49beef59e5524869281a (tree)
parent 4c75f834e7195d05ca4f358aa093003e60380be7
Author: Andrew Kelley <andrew@ziglang.org>
Date: Tue, 25 May 2021 15:39:43 -0400
Merge pull request #8892 from mattbork/prec-doc
fix position of `orelse` and `catch` in precedence table documentation
Diffstat:
1 file changed, 4 insertions(+), 5 deletions(-)
diff --git a/doc/langref.html.in b/doc/langref.html.in
@@ -1758,18 +1758,17 @@ const B = error{Two};
</div>
{#header_close#}
{#header_open|Precedence#}
- <pre>{#syntax#}x() x[] x.y
+ <pre>{#syntax#}x() x[] x.y x.* x.?
a!b
-x{} x.* x.?
+x{}
!x -x -%x ~x &x ?x
-! * / % ** *% ||
+* / % ** *% ||
+ - ++ +% -%
<< >>
-& ^ |
+& ^ | orelse catch
== != < > <= >=
and
or
-orelse catch
= *= /= %= += -= <<= >>= &= ^= |={#endsyntax#}</pre>
{#header_close#}
{#header_close#}