'pure' is now 'noStackFrame' for procs

This commit is contained in:
Araq 2011-08-19 19:11:58 +02:00
commit 5cba831c88
6 changed files with 28 additions and 21 deletions

View file

@ -55,7 +55,7 @@ type
wFieldChecks,
wCheckPoint, wSubsChar,
wAcyclic, wShallow, wUnroll, wLinearScanEnd,
wWrite, wPutEnv, wPrependEnv, wAppendEnv, wThreadVar, wEmit
wWrite, wPutEnv, wPrependEnv, wAppendEnv, wThreadVar, wEmit, wNoStackFrame
TSpecialWords* = set[TSpecialWord]
@ -99,7 +99,8 @@ const
"passc", "passl", "borrow", "fieldchecks",
"checkpoint",
"subschar", "acyclic", "shallow", "unroll", "linearscanend",
"write", "putenv", "prependenv", "appendenv", "threadvar", "emit"]
"write", "putenv", "prependenv", "appendenv", "threadvar", "emit",
"nostackframe"]
proc findStr*(a: openarray[string], s: string): int =
for i in countup(low(a), high(a)):