summary refs log tree commit diff stats
diff options
context:
space:
mode:
authorAraq <rumpf_a@web.de>2011-02-23 00:24:40 +0100
committerAraq <rumpf_a@web.de>2011-02-23 00:24:40 +0100
commit0a4498bd6b699e42d97a9f7c9fcddd435a5d6e5b (patch)
tree569c3a6c06a07abed353ec279dc2f5303ea4fa99
parent82514c9c1cd4f9f907501e493c7b046a66b3944a (diff)
downloadNim-0a4498bd6b699e42d97a9f7c9fcddd435a5d6e5b.tar.gz
suggest: got rid of debug code
-rw-r--r--rod/suggest.nim3
1 files changed, 0 insertions, 3 deletions
diff --git a/rod/suggest.nim b/rod/suggest.nim
index 5e0788ae3..d227f0d7f 100644
--- a/rod/suggest.nim
+++ b/rod/suggest.nim
@@ -145,8 +145,6 @@ proc interestingNode(n: PNode): bool {.inline.} =
 proc findClosestNode(n: PNode): PNode = 
   if msgs.inCheckpoint(n.info) == cpExact: 
     result = n
-    echo "came here"
-    debug result
   elif n.kind notin {nkNone..nkNilLit}:
     for i in 0.. <sonsLen(n):
       if interestingNode(n.sons[i]):
@@ -165,7 +163,6 @@ proc suggestExpr*(c: PContext, node: PNode) =
   if n == nil: n = node
   else: cp = msgs.inCheckpoint(n.info)
   block:
-    debug n
     case n.kind
     of nkCall, nkInfix, nkPrefix, nkPostfix, nkCommand, 
         nkCallStrLit, nkMacroStmt: