This commit is contained in:
parent
a1a9d63d22
commit
169d3fda00
2 changed files with 1 additions and 1 deletions
|
|
@ -1257,6 +1257,7 @@ proc newProcType(c: PContext; info: TLineInfo; prev: PType = nil): PType =
|
|||
result.n.add newNodeI(nkEffectList, info)
|
||||
|
||||
proc isMagic(sym: PSym): bool =
|
||||
if sym.ast == nil: return false
|
||||
let nPragmas = sym.ast[pragmasPos]
|
||||
return hasPragma(nPragmas, wMagic)
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue