summary refs log tree commit diff stats
path: root/doc/manual
diff options
context:
space:
mode:
authorAndreas Rumpf <rumpf_a@web.de>2016-01-15 11:34:52 +0100
committerAndreas Rumpf <rumpf_a@web.de>2016-01-15 11:34:52 +0100
commit46f1f41cc94fae52d26bf49e2b6eb74987857d9a (patch)
tree2a5757e2824f9133e413f464d9161fad6b9425a1 /doc/manual
parent9429e0f06458ab806deb88548622e93a9abb48fa (diff)
downloadNim-46f1f41cc94fae52d26bf49e2b6eb74987857d9a.tar.gz
finally removes 'echo ' gotcha
Diffstat (limited to 'doc/manual')
-rw-r--r--doc/manual/syntax.txt8
1 files changed, 8 insertions, 0 deletions
diff --git a/doc/manual/syntax.txt b/doc/manual/syntax.txt
index c444a3995..ca3b582ca 100644
--- a/doc/manual/syntax.txt
+++ b/doc/manual/syntax.txt
@@ -64,6 +64,14 @@ Precedence level    Operators                                      First charact
 ================  ===============================================  ==================  ===============
 
 
+Whether an operator is used a prefix operator is also affected by preceeding whitespace (this parsing change was introduced with version 0.13.0):
+
+.. code-block:: nim
+  echo $foo
+  # is parsed as
+  echo($foo)
+
+
 Strong spaces
 -------------