* c-typeprint.c (c_print_typedef): Append new type name for typedefs.
This commit is contained in:
parent
ba761f19f5
commit
b1d61bc9d1
2 changed files with 6 additions and 1 deletions
|
@ -1,3 +1,7 @@
|
|||
2010-06-25 Pierre Muller <muller@ics.u-strasbg.fr>
|
||||
|
||||
* c-typeprint.c (c_print_typedef): Append new type name for typedefs.
|
||||
|
||||
2010-06-24 Joel Brobecker <brobecker@adacore.com>
|
||||
|
||||
* python/python.c (_initialize_python): Add new "constant"
|
||||
|
|
|
@ -107,7 +107,8 @@ c_print_typedef (struct type *type, struct symbol *new_symbol,
|
|||
type_print (type, "", stream, 0);
|
||||
if (TYPE_NAME ((SYMBOL_TYPE (new_symbol))) == 0
|
||||
|| strcmp (TYPE_NAME ((SYMBOL_TYPE (new_symbol))),
|
||||
SYMBOL_LINKAGE_NAME (new_symbol)) != 0)
|
||||
SYMBOL_LINKAGE_NAME (new_symbol)) != 0
|
||||
|| TYPE_CODE (SYMBOL_TYPE (new_symbol)) == TYPE_CODE_TYPEDEF)
|
||||
fprintf_filtered (stream, " %s", SYMBOL_PRINT_NAME (new_symbol));
|
||||
fprintf_filtered (stream, ";\n");
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue