Frama-C-discuss mailing list archives
This page gathers the archives of the old Frama-C-discuss archives, that was hosted by Inria's gforge before its demise at the end of 2020. To search for mails newer than September 2020, please visit the page of the new mailing list on Renater.
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Frama-c-discuss] Syntax of annotations in ghost code?
- Subject: [Frama-c-discuss] Syntax of annotations in ghost code?
- From: dmentre at linux-france.org (David MENTRE)
- Date: Wed, 11 Sep 2013 10:24:41 +0200
- In-reply-to: <CA+yPOVhGUb0v-tac2HtGCFHe1gf7kBsrVRmMSGUp8asxeuf24A@mail.gmail.com>
- References: <CAC3Lx=aDAioqVN-v9+LAd5o0CVqTrbEouWW7pLfEyyZh9xsCxQ@mail.gmail.com> <CA+yPOVhGUb0v-tac2HtGCFHe1gf7kBsrVRmMSGUp8asxeuf24A@mail.gmail.com>
Hello Virgile, 2013/9/11 Virgile Prevosto <virgile.prevosto at m4x.org>: > No, it's not possible: Each //@ is supposed to be a self-contained > annotation. OK, thanks. > A possibility, for both ghost and non-ghost code, would be to use '\' > at the end of a one-line annotation to indicate that it is to be > continued on the next line, e.g. > //@ loop invariant foo; \ > //@ loop invariant bar; \ > //@ loop assigns x; > It should be possible to add it without too much changes in the lexer > and parser. That's an interesting option. > Allowing /@ @/ as mentioned on the ACSL document might prove to be a > bit technical but should be doable. Ah, that's explain why I wasn't able to use it. ;-) Best regards, david
- References:
- [Frama-c-discuss] Syntax of annotations in ghost code?
- From: dmentre at linux-france.org (David MENTRE)
- [Frama-c-discuss] Syntax of annotations in ghost code?
- From: virgile.prevosto at m4x.org (Virgile Prevosto)
- [Frama-c-discuss] Syntax of annotations in ghost code?
- Prev by Date: [Frama-c-discuss] Proving a simple property on bitshift with WP
- Next by Date: [Frama-c-discuss] List of pre-requsts for frama-c-Fluorine
- Previous by thread: [Frama-c-discuss] Syntax of annotations in ghost code?
- Next by thread: [Frama-c-discuss] List of pre-requsts for frama-c-Fluorine
- Index(es):