[LIB]: Emit a ';' after unions in cus__emit_type_definitions

Signed-off-by: Arnaldo Carvalho de Melo <acme@mandriva.com>
This commit is contained in:
Arnaldo Carvalho de Melo 2007-01-13 15:56:27 -02:00
parent dc22745064
commit 003a38d2b0
1 changed files with 5 additions and 0 deletions

View File

@ -2730,7 +2730,12 @@ int cus__emit_type_definitions(struct cus *self, struct cu *cu,
if (tag->tag == DW_TAG_structure_type)
class__find_holes(tag__class(tag), cu);
tag__print(tag, cu, prefix, suffix);
if (tag->tag != DW_TAG_structure_type)
putchar(';');
putchar('\n');
return 1;
}