summary refs log tree commit diff stats
path: root/lib/core
diff options
context:
space:
mode:
authorArne Döring <arne.doering@gmx.net>2018-07-22 19:56:48 +0200
committerArne Döring <arne.doering@gmx.net>2018-10-18 15:39:22 +0200
commit358b5225df88a439e6654ef47ddfcbc1669fc6ed (patch)
treeb57cf060fc52a2c3eb04085d67f1095c2c2f5daa /lib/core
parent48697dc5bb5d23761e9b1679f064d03de4e7bdc8 (diff)
downloadNim-358b5225df88a439e6654ef47ddfcbc1669fc6ed.tar.gz
fixed comment
Diffstat (limited to 'lib/core')
-rw-r--r--lib/core/macros.nim4
1 files changed, 2 insertions, 2 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim
index a3b02de5f..6720a3f99 100644
--- a/lib/core/macros.nim
+++ b/lib/core/macros.nim
@@ -177,8 +177,8 @@ proc `[]=`*(n: NimNode, i: BackwardsIndex, child: NimNode) =
   n[n.len - i.int] = child
 
 template `or`*(x, y: NimNode): NimNode =
-  ## Evalutuate ``a`` and when it is not an empty node, return return
-  ## it. Otherwise evaluate to ``b``. Can be used to chain several
+  ## Evalutuate ``x`` and when it is not an empty node, return return
+  ## it. Otherwise evaluate to ``y``. Can be used to chain several
   ## expressions that evaluates to the first expression that is not
   ## empty.
   ##