[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:
parent
dc22745064
commit
003a38d2b0
|
@ -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;
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue