suggest: got rid of debug code

This commit is contained in:
Araq
2011-02-23 00:24:40 +01:00
parent 82514c9c1c
commit 0a4498bd6b

View File

@@ -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: