gdb: Convert language la_print_typedef field to a method
[deliverable/binutils-gdb.git] / gdb / f-lang.c
index 67c2ea34b64570a27f7c728fff4216d3fa13c5aa..946d5bc25afc523c55f22b91c8449e8d14794e3b 100644 (file)
@@ -513,7 +513,6 @@ extern const struct language_data f_language_data =
   macro_expansion_no,
   f_extensions,
   &exp_descriptor_f,
-  f_print_typedef,             /* Print a typedef using appropriate syntax */
   NULL,                        /* name_of_this */
   false,                       /* la_store_sym_names_in_linkage_form_p */
   f_op_print_tab,              /* expression operators for printing */
@@ -702,6 +701,14 @@ public:
                      force_ellipses, '\'', 0, options);
   }
 
+  /* See language.h.  */
+
+  void print_typedef (struct type *type, struct symbol *new_symbol,
+                     struct ui_file *stream) const override
+  {
+    f_print_typedef (type, new_symbol, stream);
+  }
+
 protected:
 
   /* See language.h.  */
This page took 0.023424 seconds and 4 git commands to generate.