*** f-typeprint.c Sun Jan 20 19:42:04 2002 --- f-typeprint.c Mon Oct 21 16:18:12 2002 *************** f_type_print_varspec_suffix (struct type *** 175,183 **** if (arrayprint_recurse_level == 1) fprintf_filtered (stream, "("); - if (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_ARRAY) - f_type_print_varspec_suffix (TYPE_TARGET_TYPE (type), stream, 0, 0, 0); retcode = f77_get_dynamic_lowerbound (type, &lower_bound); --- 175,183 ---- if (arrayprint_recurse_level == 1) fprintf_filtered (stream, "("); + else + fprintf_filtered (stream, ","); retcode = f77_get_dynamic_lowerbound (type, &lower_bound); *************** f_type_print_varspec_suffix (struct type *** 212,221 **** if (TYPE_CODE (TYPE_TARGET_TYPE (type)) != TYPE_CODE_ARRAY) f_type_print_varspec_suffix (TYPE_TARGET_TYPE (type), stream, 0, 0, 0); if (arrayprint_recurse_level == 1) fprintf_filtered (stream, ")"); - else - fprintf_filtered (stream, ","); arrayprint_recurse_level--; break; --- 212,223 ---- if (TYPE_CODE (TYPE_TARGET_TYPE (type)) != TYPE_CODE_ARRAY) f_type_print_varspec_suffix (TYPE_TARGET_TYPE (type), stream, 0, 0, 0); + + if (TYPE_CODE (TYPE_TARGET_TYPE (type)) == TYPE_CODE_ARRAY) + f_type_print_varspec_suffix (TYPE_TARGET_TYPE (type), stream, 0, 0, 0); + if (arrayprint_recurse_level == 1) fprintf_filtered (stream, ")"); arrayprint_recurse_level--; break;