parent
30621c4a89
commit
b1c2416abd
3 changed files with 13 additions and 0 deletions
|
|
@ -71,6 +71,7 @@ const
|
|||
letPragmas* = varPragmas
|
||||
procTypePragmas* = {FirstCallConv..LastCallConv, wVarargs, wNosideeffect,
|
||||
wThread, wRaises, wLocks, wTags, wGcSafe}
|
||||
forVarPragmas* = {wInject, wGensym}
|
||||
allRoutinePragmas* = methodPragmas + iteratorPragmas + lambdaPragmas
|
||||
|
||||
proc getPragmaVal*(procAst: PNode; name: TSpecialWord): PNode =
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue