improvements for nimfix
This commit is contained in:
parent
569fbe8c37
commit
c5dbcb548f
9 changed files with 37 additions and 12 deletions
|
|
@ -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)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue