Skip to content

Commit 1cfe87c

Browse files
committed
expr2ct hack for SV-COMP: no struct type body output
A proper fix would be done via #354
1 parent e9bc641 commit 1cfe87c

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ansi-c/expr2c.cpp

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -752,6 +752,7 @@ std::string expr2ct::convert_struct_type(
752752
if(tag!="")
753753
dest+=" "+id2string(tag);
754754

755+
#if 0
755756
if(inc_struct_body)
756757
{
757758
dest+=" {";
@@ -775,6 +776,7 @@ std::string expr2ct::convert_struct_type(
775776

776777
dest+=" }";
777778
}
779+
#endif
778780

779781
dest+=declarator;
780782

0 commit comments

Comments
 (0)