added an .assert pragma and mentioned the pragmas in the changelog
This commit is contained in:
parent
df8e0e7f0c
commit
d01fca974d
4 changed files with 8 additions and 4 deletions
|
|
@ -1176,7 +1176,7 @@ proc singlePragma(c: PContext, sym: PSym, n: PNode, i: var int,
|
|||
if sym == nil: invalidPragma(c, it)
|
||||
else: sym.flags.incl sfUsed
|
||||
of wLiftLocals: discard
|
||||
of wRequires, wInvariant, wAssume:
|
||||
of wRequires, wInvariant, wAssume, wAssert:
|
||||
pragmaProposition(c, it)
|
||||
of wEnsures:
|
||||
pragmaEnsures(c, it)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue