Changes between Version 46 and Version 47 of Language


Ignore:
Timestamp:
05/22/23 10:47:22 (3 years ago)
Author:
siegel
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • Language

    v46 v47  
    795795Function contracts can be specified as annotations---formatted comments---preceding a function prototype or definition.
    796796The language for these annotations is based on the specification language [https://frama-c.com/html/acsl.html ACSL] used by Frama-C.
    797 The high-level syntax is
     797A translation unit must include the following pragma to inform CIVL that it should parse the ACSL annotations in that translation unit:
     798{{{
     799#pragma CIVL ACSL
     800}}}
     801If this line is not present, the annotations will be ignored.
     802
     803The high-level syntax for a procedure contract is
    798804
    799805  `/*@` ''clause''* `*/`