parser change: 'not' is always a unary operator; fixes #9574

This commit is contained in:
Andreas Rumpf 2018-11-07 20:53:41 +01:00
commit 8a357c270b
4 changed files with 11 additions and 1 deletions

View file

@ -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
------------