Skip to content

Commit d539940

Browse files
author
Joel Allred
committed
Handle ID_struct_tag in interpreter get_size()
1 parent b0d95a4 commit d539940

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/goto-programs/interpreter.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1031,7 +1031,7 @@ mp_integer interpretert::get_size(const typet &type)
10311031
}
10321032
return subtype_size;
10331033
}
1034-
else if(type.id() == ID_symbol_type)
1034+
else if(type.id() == ID_symbol_type || type.id() == ID_struct_tag)
10351035
{
10361036
return get_size(ns.follow(type));
10371037
}

0 commit comments

Comments
 (0)