For now don't print the "nameless structs", aka "typedef struct { } foo".

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2006-10-24 22:45:43 -03:00
parent 1bbfd30eea
commit 00a86e1267
1 changed files with 1 additions and 1 deletions

View File

@ -275,7 +275,7 @@ void print_classes(void)
struct class *pos;
list_for_each_entry(pos, &classes, node)
if (pos->tag == DW_TAG_structure_type)
if (pos->tag == DW_TAG_structure_type && pos->name[0] != '\0')
class__print(pos);
}