diff options
author | Araq <rumpf_a@web.de> | 2014-09-10 09:48:18 +0200 |
---|---|---|
committer | Araq <rumpf_a@web.de> | 2014-09-10 09:48:18 +0200 |
commit | c5dbcb548fe5b005594d3e6d1c266d3ec7eb13a2 (patch) | |
tree | 2ffc10ee5f5195af3d547007533bf90aa96776e4 /compiler/suggest.nim | |
parent | 569fbe8c37d99a3adf966527b2650369dfec2dd0 (diff) | |
download | Nim-c5dbcb548fe5b005594d3e6d1c266d3ec7eb13a2.tar.gz |
improvements for nimfix
Diffstat (limited to 'compiler/suggest.nim')
-rw-r--r-- | compiler/suggest.nim | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/compiler/suggest.nim b/compiler/suggest.nim index 99e0e93c1..c700db323 100644 --- a/compiler/suggest.nim +++ b/compiler/suggest.nim @@ -11,7 +11,7 @@ # included from sigmatch.nim -import algorithm, sequtils, pretty +import algorithm, sequtils const sep = '\t' @@ -331,7 +331,6 @@ proc markUsed(info: TLineInfo; s: PSym) = if sfDeprecated in s.flags: message(info, warnDeprecated, s.name.s) if sfError in s.flags: localError(info, errWrongSymbolX, s.name.s) suggestSym(info, s) - if gCmd == cmdPretty: styleCheckUse(info, s) proc useSym*(sym: PSym): PNode = result = newSymNode(sym) |