2005-07-13 Eric Christopher <echristo@redhat.com>
[deliverable/binutils-gdb.git] / gdb / f-typeprint.c
index 3a153a34075bc391d7c0131d36ceeee5f0eea9e3..2923bffe667690336639b989d40a3d4e06b262e8 100644 (file)
@@ -329,6 +329,11 @@ f_type_print_base (struct type *type, struct ui_file *stream, int show,
       f_type_print_base (TYPE_TARGET_TYPE (type), stream, 0, level);
       break;
 
+    case TYPE_CODE_REF:
+      fprintf_filtered (stream, "REF TO -> ( ");
+      f_type_print_base (TYPE_TARGET_TYPE (type), stream, 0, level);
+      break;
+
     case TYPE_CODE_VOID:
       fprintf_filtered (stream, "VOID");
       break;
@@ -395,7 +400,7 @@ f_type_print_base (struct type *type, struct ui_file *stream, int show,
       if (TYPE_NAME (type) != NULL)
        fputs_filtered (TYPE_NAME (type), stream);
       else
-       error ("Invalid type code (%d) in symbol table.", TYPE_CODE (type));
+       error (_("Invalid type code (%d) in symbol table."), TYPE_CODE (type));
       break;
     }
 }
This page took 0.025351 seconds and 4 git commands to generate.