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] How to discard a visiting glob?

  • Subject: [Frama-c-discuss] How to discard a visiting glob?
  • From: abiao.yang at (David Yang)
  • Date: Fri, 10 Jan 2014 21:29:56 +0800

Hi all,

How to discard a visiting glob while it satisfy some condition?

method vglob_aux g =
     match g with
     | GType _ -> SkipChildren
     | GVar _ ->
         if(g satisfy some condition) then
               ; (*** discard this glob ***)
         else SkipChildren
     | _ -> SkipChildren

Here, How to write the code for if condition?