bugfix: the code gen can now handle alias TLock = TSysLock; this fixes threading bugs
This commit is contained in:
parent
4012517d6d
commit
69cc24cdf6
5 changed files with 20 additions and 5 deletions
|
|
@ -147,9 +147,6 @@ proc processMagic(c: PContext, n: PNode, s: PSym) =
|
|||
s.magic = m
|
||||
break
|
||||
if s.magic == mNone: Message(n.info, warnUnknownMagic, v)
|
||||
# magics don't need an implementation, so we
|
||||
# treat them as imported, instead of modifing a lot of working code:
|
||||
incl(s.flags, sfImportc)
|
||||
|
||||
proc wordToCallConv(sw: TSpecialWord): TCallingConvention =
|
||||
# this assumes that the order of special words and calling conventions is
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue