implemented a new localPassc pragma (#12706)
This commit is contained in:
parent
c0eeea4f3c
commit
64e8f050e1
7 changed files with 48 additions and 12 deletions
|
|
@ -58,7 +58,7 @@ type
|
|||
wSafecode, wPackage, wNoForward, wReorder, wNoRewrite, wNoDestroy,
|
||||
wPragma,
|
||||
wCompileTime, wNoInit,
|
||||
wPassc, wPassl, wBorrow, wDiscardable,
|
||||
wPassc, wPassl, wLocalPassc, wBorrow, wDiscardable,
|
||||
wFieldChecks,
|
||||
wSubsChar, wAcyclic, wShallow, wUnroll, wLinearScanEnd, wComputedGoto,
|
||||
wInjectStmt, wExperimental,
|
||||
|
|
@ -146,7 +146,7 @@ const
|
|||
"safecode", "package", "noforward", "reorder", "norewrite", "nodestroy",
|
||||
"pragma",
|
||||
"compiletime", "noinit",
|
||||
"passc", "passl", "borrow", "discardable", "fieldchecks",
|
||||
"passc", "passl", "localpassc", "borrow", "discardable", "fieldchecks",
|
||||
"subschar", "acyclic", "shallow", "unroll", "linearscanend",
|
||||
"computedgoto", "injectstmt", "experimental",
|
||||
"write", "gensym", "inject", "dirty", "inheritable", "threadvar", "emit",
|
||||
|
|
@ -209,4 +209,5 @@ proc canonPragmaSpelling*(w: TSpecialWord): string =
|
|||
of wImplicitStatic: "implicitStatic"
|
||||
of wCodegenDecl: "codegenDecl"
|
||||
of wLiftLocals: "liftLocals"
|
||||
of wLocalPassc: "localPassc"
|
||||
else: specialWords[w]
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue