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 set option "-slevel" or "-context-width" by using API function[Not set in command line]


  • Subject: [Frama-c-discuss] how to set option "-slevel" or "-context-width" by using API function[Not set in command line]
  • From: abiao.yang at gmail.com (Ben)
  • Date: Sat, 3 Nov 2012 23:15:57 +0800

Dear Anne,

 

Thank you for timely replying me.

I tried that function you provide.

 

1.        I use the that code to set option "-context-width":

Dynamic.Parameter.Int.set "-context-width" 5; 

 

2.        I print out that option:

let cwidth = Parameter.get "-context-width" in

let cw_str = Parameter.get_value cwidth in

Format.printf " %s " cw_str;

 

It seems that option did not changed either.

 

If possible, I hope you can help me on Monday.

Thank you in advance.

 

Ben

2012-11-03

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.gforge.inria.fr/pipermail/frama-c-discuss/attachments/20121103/c9c416fa/attachment.html>