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] concrete logic types

  • Subject: [Frama-c-discuss] concrete logic types
  • From: cenea at (Constantin Enea)
  • Date: Mon, 7 Feb 2011 13:48:41 +0100

Hi all,

I have tried the example for concrete logic types given in Section 2.6.8. of the ACSL 1.5. description and it answers:

why4.c:4:[kernel] user error: syntax error while parsing annotation
[kernel] user error: skipping file "why4.c" that has errors.
[kernel] Frama-C aborted because of an invalid user input.

Line 4 contains the "\match" key word. Do you have any idea why this does not work?

The input file contains:

@ type list<A> = Nil | Cons(A,list<A>);
@ logic integer list_length<A>(list<A> l) =
@	\match l {
@		case Nil : 0
@ 		case Cons(h,t) : 1+list_length(t)
@	};

Constantin Enea.