Skip to content

Commit cdd7f3a

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

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
@@ -679,6 +679,7 @@ std::string expr2ct::convert_struct_type(
679679
if(tag!="")
680680
dest+=" "+id2string(tag);
681681

682+
#if 0
682683
if(inc_struct_body)
683684
{
684685
dest+=" {";
@@ -702,6 +703,7 @@ std::string expr2ct::convert_struct_type(
702703

703704
dest+=" }";
704705
}
706+
#endif
705707

706708
dest+=declarator;
707709

0 commit comments

Comments
 (0)