fixes linter regressions

This commit is contained in:
Araq 2019-07-10 18:59:27 +02:00
commit 73cc029fec
4 changed files with 15 additions and 3 deletions

View file

@ -320,6 +320,7 @@ proc semIdentDef(c: PContext, n: PNode, kind: TSymKind): PSym =
result = semIdentWithPragma(c, kind, n, {})
if result.owner.kind == skModule:
incl(result.flags, sfGlobal)
result.options = c.config.options
proc getLineInfo(n: PNode): TLineInfo =
case n.kind