1
0
Fork 0

DBG: include the member name in struct visiting

This commit is contained in:
mrexodia 2017-02-18 20:35:53 +01:00
parent e83524461c
commit 6b3d1e71da
No known key found for this signature in database
GPG Key ID: FC89E0AAA0C1AAD8
1 changed files with 1 additions and 1 deletions

View File

@ -475,7 +475,7 @@ struct PrintVisitor : TypeManager::Visitor
bool visitStructUnion(const Member & member, const StructUnion & type) override bool visitStructUnion(const Member & member, const StructUnion & type) override
{ {
String tname = StringUtils::sprintf("%s %s", type.isunion ? "union" : "struct", type.name.c_str()); String tname = StringUtils::sprintf("%s %s %s", type.isunion ? "union" : "struct", type.name.c_str(), member.name.c_str());
TYPEDESCRIPTOR td; TYPEDESCRIPTOR td;
td.expanded = true; td.expanded = true;