fix some breakage after rebasing

This commit is contained in:
Zahary Karadjov
2018-06-13 01:46:44 +03:00
parent 16b594b532
commit 59d19946c0
2 changed files with 2 additions and 2 deletions

View File

@@ -561,7 +561,7 @@ proc hasUnresolvedArgs(c: PContext, n: PNode): bool =
of nkSym:
return isUnresolvedSym(n.sym)
of nkIdent, nkAccQuoted:
let ident = considerQuotedIdent(c.config, n)
let ident = considerQuotedIdent(c, n)
let sym = searchInScopes(c, ident)
if sym != nil:
return isUnresolvedSym(sym)

View File

@@ -1680,7 +1680,7 @@ proc processMagicType(c: PContext, m: PSym) =
setMagicType(c.config, m, tyTypeDesc, 0)
rawAddSon(m.typ, newTypeS(tyNone, c))
of mStatic:
setMagicType(m, tyStatic, 0)
setMagicType(c.config, m, tyStatic, 0)
rawAddSon(m.typ, newTypeS(tyNone, c))
of mVoidType:
setMagicType(c.config, m, tyVoid, 0)