Skip to content

Commit

Permalink
Move exclamation token to delimiters
Browse files Browse the repository at this point in the history
  • Loading branch information
Glyphack authored Sep 3, 2024
1 parent c7372e6 commit be5a432
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions Doc/reference/lexical_analysis.rst
Original file line number Diff line number Diff line change
Expand Up @@ -1003,7 +1003,7 @@ The following tokens are operators:
+ - * ** / // % @
<< >> & | ^ ~ :=
< > <= >= == != !
< > <= >= == !=
.. _delimiters:
Expand All @@ -1018,9 +1018,9 @@ The following tokens serve as delimiters in the grammar:
.. code-block:: none
( ) [ ] { }
, : . ; @ = ->
+= -= *= /= //= %= @=
&= |= ^= >>= <<= **=
, : ! . ; @ =
-> += -= *= /= //= %=
@= &= |= ^= >>= <<= **=
The period can also occur in floating-point and imaginary literals. A sequence
of three periods has a special meaning as an ellipsis literal. The second half
Expand Down

0 comments on commit be5a432

Please sign in to comment.