parser change: 'not' is always a unary operator; fixes #9574
This commit is contained in:
parent
b1ad5fd7da
commit
8a357c270b
4 changed files with 11 additions and 1 deletions
|
|
@ -514,6 +514,9 @@ are used for other notational purposes.
|
|||
``*:`` is as a special case treated as the two tokens `*`:tok: and `:`:tok:
|
||||
(to support ``var v*: T``).
|
||||
|
||||
The ``not`` keyword is always a unary operator, ``a not b`` is parsed
|
||||
as ``a(not b)``, not as ``(a) not (b)``.
|
||||
|
||||
|
||||
Other tokens
|
||||
------------
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue