Skip to content

Commit 8e38eca

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

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
@@ -699,6 +699,7 @@ std::string expr2ct::convert_struct_type(
699699
if(tag!="")
700700
dest+=" "+id2string(tag);
701701

702+
#if 0
702703
if(inc_struct_body)
703704
{
704705
dest+=" {";
@@ -722,6 +723,7 @@ std::string expr2ct::convert_struct_type(
722723

723724
dest+=" }";
724725
}
726+
#endif
725727

726728
dest+=declarator;
727729

0 commit comments

Comments
 (0)