+2020-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
+
+ * language.h (LA_PRINT_TYPEDEF): Delete.
+ * typeprint.c (typedef_print): Call print_typedef directly on the
+ current_language object.
+
2020-10-23 Andrew Burgess <andrew.burgess@embecosm.com>
* m2-exp.y (m2_parse): Rename to...
#define LA_PRINT_TYPE(type,varstring,stream,show,level,flags) \
(current_language->print_type(type,varstring,stream,show,level,flags))
-#define LA_PRINT_TYPEDEF(type,new_symbol,stream) \
- (current_language->print_typedef (type,new_symbol,stream))
-
#define LA_VALUE_PRINT(val,stream,options) \
(current_language->value_print (val,stream,options))
void
typedef_print (struct type *type, struct symbol *newobj, struct ui_file *stream)
{
- LA_PRINT_TYPEDEF (type, newobj, stream);
+ current_language->print_typedef (type, newobj, stream);
}
/* Print a description of a type TYPE in the form of a declaration of a