Skip to content

Commit 3f29fc1

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

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

src/ansi-c/expr2c.cpp

+2
Original file line numberDiff line numberDiff line change
@@ -715,6 +715,7 @@ std::string expr2ct::convert_struct_type(
715715
if(tag!="")
716716
dest+=" "+id2string(tag);
717717

718+
#if 0
718719
if(inc_struct_body)
719720
{
720721
dest+=" {";
@@ -737,6 +738,7 @@ std::string expr2ct::convert_struct_type(
737738

738739
dest+=" }";
739740
}
741+
#endif
740742

741743
dest+=declarator;
742744

0 commit comments

Comments
 (0)