correctly honor cmdline --hint:conf:on/off ; correctly show Conf hints in order
This commit is contained in:
parent
96bffadf60
commit
ce36fdc897
6 changed files with 18 additions and 3 deletions
|
|
@ -204,11 +204,17 @@ proc processSpecificNote*(arg: string, state: TSpecialWord, pass: TCmdLinePass,
|
|||
incl(conf.notes, n)
|
||||
incl(conf.mainPackageNotes, n)
|
||||
incl(conf.enableNotes, n)
|
||||
if conf.isCmdLine:
|
||||
incl(conf.cmdLineNotes, n)
|
||||
excl(conf.cmdLineDisabledNotes, n)
|
||||
of "off":
|
||||
excl(conf.notes, n)
|
||||
excl(conf.mainPackageNotes, n)
|
||||
incl(conf.disableNotes, n)
|
||||
excl(conf.foreignPackageNotes, n)
|
||||
if conf.isCmdLine:
|
||||
incl(conf.cmdLineDisabledNotes, n)
|
||||
excl(conf.cmdLineNotes, n)
|
||||
else: localError(conf, info, errOnOrOffExpectedButXFound % arg)
|
||||
|
||||
proc processCompile(conf: ConfigRef; filename: string) =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue