Frama-C Bug Tracking System

View Issue Details Jump to Notes ] Issue History ] Print ]
IDProjectCategoryView StatusDate SubmittedLast Update
0001021Frama-CGraphical User Interfacepublic2011-11-18 13:542012-09-19 17:16
Reporterpatrick 
Assigned Toyakobowski 
PrioritynormalSeverityminorReproducibilityhave not tried
StatusclosedResolutionfixed 
PlatformOSOS Version
Product VersionFrama-C Nitrogen-20111001 
Target VersionFixed in VersionFrama-C Oxygen-20120901 
Summary0001021: request for pretty printing only one property by lines
DescriptionSometimes, there is more than one property at a line. This is bad for the display of the property status. In GUI mode, the pretty printer should start the pretty printing of a statement at a new line when the statement has an annotation.
Additional InformationThe following code: void f1 (void) { for (int i = 0; i < 10 ;) { //@ invariant i>=0; //@ assert i>=0; i++; } } is pretty printed as follow: void f1(void) { int i; i = 0; while (i < 10) { /*@ invariant i ? 0; */ ; /*@ assert i ? 0; */ ; i ++; } return; }
TagsNo tags attached.
Attached Files

- Relationships

-  Notes
(0002478)
yakobowski (manager)
2011-11-18 16:33

I won't do something special for the gui, so the change will impact all the Cil pretty-printers, and possibly all C code in general (even in absence of ACSL). Does someone object to that?
(0002480)
yakobowski (manager)
2011-11-18 20:10

Fixes in revision 16125. The code above is now printed as void f1(void) { int i; i = 0; while (i < 10) { /*@ invariant i ? 0; */ ; /*@ assert i ? 0; */ ; i ++; } return; } Some problems may remain with statement contracts. Feel free to reopen this bug if you find some.

- Issue History
Date Modified Username Field Change
2011-11-18 13:54 patrick New Issue
2011-11-18 13:54 patrick Status new => assigned
2011-11-18 13:54 patrick Assigned To => monate
2011-11-18 13:54 patrick Assigned To monate => yakobowski
2011-11-18 16:33 yakobowski Note Added: 0002478
2011-11-18 20:10 yakobowski Note Added: 0002480
2011-11-18 20:10 yakobowski Status assigned => resolved
2011-11-18 20:10 yakobowski Resolution open => fixed
2012-09-19 17:15 signoles Fixed in Version => Frama-C Oxygen-20120901
2012-09-19 17:16 signoles Status resolved => closed


Copyright © 2000 - 2019 MantisBT Team
Powered by Mantis Bugtracker