fixes #9614 [backport]
This commit is contained in:
parent
1711a60f7b
commit
bc8cea2672
1 changed files with 1 additions and 1 deletions
|
|
@ -1268,7 +1268,7 @@ proc semProcAnnotation(c: PContext, prc: PNode;
|
|||
x.add(prc)
|
||||
|
||||
# recursion assures that this works for multiple macro annotations too:
|
||||
var r = semOverloadedCall(c, x, x, {skMacro}, {efNoUndeclared})
|
||||
var r = semOverloadedCall(c, x, x, {skMacro, skTemplate}, {efNoUndeclared})
|
||||
if r == nil:
|
||||
# Restore the old list of pragmas since we couldn't process this
|
||||
prc.sons[pragmasPos] = n
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue