preparations for 0.8.12

This commit is contained in:
Araq 2011-07-10 15:48:13 +02:00
commit 5b96eaa953
81 changed files with 2355 additions and 826 deletions

View file

@ -522,6 +522,7 @@ proc rawMessage*(msg: TMsgKind, args: openarray[string]) =
of warnMin..warnMax:
if not (optWarns in gOptions): return
if not (msg in gNotes): return
writeContext(unknownLineInfo())
frmt = rawWarningFormat
inc(gWarnCounter)
of hintMin..hintMax:
@ -552,6 +553,7 @@ proc liMessage(info: TLineInfo, msg: TMsgKind, arg: string,
lastError = info
of warnMin..warnMax:
ignoreMsg = optWarns notin gOptions or msg notin gNotes
if not ignoreMsg: writeContext(info)
frmt = posWarningFormat
inc(gWarnCounter)
of hintMin..hintMax: