properly handle note override logic/verbosity/config/cmdline using modifiedyNotes, cmdlineNotes
This commit is contained in:
parent
c1cbf94e2d
commit
1056f9ecff
5 changed files with 31 additions and 32 deletions
|
|
@ -328,6 +328,7 @@ proc processNote(c: PContext, n: PNode) =
|
|||
n[1] = x
|
||||
if x.kind == nkIntLit and x.intVal != 0: incl(c.config.notes, nk)
|
||||
else: excl(c.config.notes, nk)
|
||||
# checkme: honor cmdlineNotes with: c.setNote(nk, x.kind == nkIntLit and x.intVal != 0)
|
||||
else:
|
||||
invalidPragma(c, n)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue