summary refs log tree commit diff stats
path: root/lib
diff options
context:
space:
mode:
authorDominik Picheta <dominikp@kainos.com>2015-08-03 17:05:14 +0100
committerDominik Picheta <dominikp@kainos.com>2015-08-03 17:05:14 +0100
commit303bc45745d202278d4be3e96c7c0864e748bad7 (patch)
tree285154e673fbbd83c0e8f3f709c0514a2e1aeeca /lib
parent04dc46b1aa76da615d175fecc9c6cc1bc5075f18 (diff)
downloadNim-303bc45745d202278d4be3e96c7c0864e748bad7.tar.gz
Added documentation to macros.items.
Diffstat (limited to 'lib')
-rw-r--r--lib/core/macros.nim1
1 files changed, 1 insertions, 0 deletions
diff --git a/lib/core/macros.nim b/lib/core/macros.nim
index d9e89e7f1..5d852cdb1 100644
--- a/lib/core/macros.nim
+++ b/lib/core/macros.nim
@@ -720,6 +720,7 @@ proc ident*(name: string): NimNode {.compileTime,inline.} = newIdentNode(name)
   ## Create a new ident node from a string
 
 iterator items*(n: NimNode): NimNode {.inline.} =
+  ## Iterates over the children of the NimNode ``n``.
   for i in 0 ..< n.len:
     yield n[i]