From 303bc45745d202278d4be3e96c7c0864e748bad7 Mon Sep 17 00:00:00 2001 From: Dominik Picheta Date: Mon, 3 Aug 2015 17:05:14 +0100 Subject: [PATCH] Added documentation to macros.items. --- lib/core/macros.nim | 1 + 1 file changed, 1 insertion(+) diff --git a/lib/core/macros.nim b/lib/core/macros.nim index d9e89e7f15..5d852cdb11 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]