* f-typeprint.c (f_type_print_base): Handle TYPE_CODE_REF.

* f-valprint.c (f_val_print): Likewise.  Tweak TYPE_CODE_PTR to
        match c_val_print a bit closer.
This commit is contained in:
Richard Henderson
2003-10-14 06:51:14 +00:00
parent 661a32f7da
commit 7e86466e04
3 changed files with 54 additions and 9 deletions

View 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;