summary refs log tree commit diff stats
path: root/compiler/ast.nim
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2015-02-27 16:44:43 +0100
committerAraq <rumpf_a@web.de>2015-02-27 16:44:55 +0100
commit3bfcfeb0cffa266b45f0803009787d7761881326 (patch)
tree13740cd238c5c72772baed5c6241c3dd6aa18eaa /compiler/ast.nim
parent05233de66cbe4a1878e8d83b7bc8fb9df20d8ff1 (diff)
downloadNim-3bfcfeb0cffa266b45f0803009787d7761881326.tar.gz
don't use stdout for nimsuggest server mode
Diffstat (limited to 'compiler/ast.nim')
-rw-r--r--compiler/ast.nim2
1 files changed, 1 insertions, 1 deletions
diff --git a/compiler/ast.nim b/compiler/ast.nim
index 6afc1db26..1462d58d5 100644
--- a/compiler/ast.nim
+++ b/compiler/ast.nim
@@ -1413,7 +1413,7 @@ proc copyTree*(src: PNode): PNode =
     for i in countup(0, sonsLen(src) - 1): 
       result.sons[i] = copyTree(src.sons[i])
 
-proc hasSonWith(n: PNode, kind: TNodeKind): bool = 
+proc hasSonWith*(n: PNode, kind: TNodeKind): bool = 
   for i in countup(0, sonsLen(n) - 1): 
     if n.sons[i].kind == kind: 
       return true