From 8a357c270b32d41c2a721dc88197f0a8e35c47e8 Mon Sep 17 00:00:00 2001 From: Andreas Rumpf Date: Wed, 7 Nov 2018 20:53:41 +0100 Subject: parser change: 'not' is always a unary operator; fixes #9574 --- doc/manual.rst | 3 +++ 1 file changed, 3 insertions(+) (limited to 'doc/manual.rst') 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 ------------ -- cgit 1.4.1-2-gfad0