summary refs log tree commit diff stats
path: root/doc/manual.rst
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2018-11-07 20:53:41 +0100
committerAndreas Rumpf <rumpf_a@web.de>2018-11-07 21:17:52 +0100
commit8a357c270b32d41c2a721dc88197f0a8e35c47e8 (patch)
tree6b1a47c49c804c064adc9a704f5c784bcfb4d7b3 /doc/manual.rst
parentb1ad5fd7da0d5b93b260ddd62f98f7331cc801fb (diff)
downloadNim-8a357c270b32d41c2a721dc88197f0a8e35c47e8.tar.gz
parser change: 'not' is always a unary operator; fixes #9574
Diffstat (limited to 'doc/manual.rst')
-rw-r--r--doc/manual.rst3
1 files changed, 3 insertions, 0 deletions
diff --git a/doc/manual.rst b/doc/manual.rst
index e73806147..cb0194ba4 100644
--- a/doc/manual.rst
+++ b/doc/manual.rst
@@ -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
 ------------