diff options
author | Gabriel Dos Reis <gdr@nerim.net> | 2002-08-12 18:34:51 +0000 |
---|---|---|
committer | Gabriel Dos Reis <gdr@gcc.gnu.org> | 2002-08-12 18:34:51 +0000 |
commit | 9b32718c73846ba9437e6a9d789ecca475e62551 (patch) | |
tree | b1a38ce7e84fb408f819801ff4a4661e61e604cb /gcc/pretty-print.h | |
parent | 48c1db3d6f2920e60963b2d2ecad83a0bfe41492 (diff) | |
download | gcc-9b32718c73846ba9437e6a9d789ecca475e62551.zip gcc-9b32718c73846ba9437e6a9d789ecca475e62551.tar.gz gcc-9b32718c73846ba9437e6a9d789ecca475e62551.tar.bz2 |
diagnostic.h (output_formatted_scalar): Rename from output_formatted_integer.
* diagnostic.h (output_formatted_scalar): Rename from
output_formatted_integer.
* diagnostic.def: Add DK_DEBUG.
* diagnostic.c (output_decimal): Adjust.
(output_long_decimal): Likewise.
(output_unsigned_decimal): Likewise.
(output_octal): Likewise.
(output_long_octal): Likewise.
(output_hexadecimal): Likewise.
(output_long_hexadecimal): Likewise.
* c-pretty-print.c (pp_c_type_specifier): New function.
(pp_c_specifier_qualifier_list): Likewise.
(pp_c_abstract_declarator): Likewise.
(pp_c_char): Replace pp_format_integer with pp_format_scalar.
From-SVN: r56236
Diffstat (limited to 'gcc/pretty-print.h')
-rw-r--r-- | gcc/pretty-print.h | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/gcc/pretty-print.h b/gcc/pretty-print.h index 958e1ee..5efb9e7 100644 --- a/gcc/pretty-print.h +++ b/gcc/pretty-print.h @@ -84,10 +84,11 @@ struct pretty_print_info pp_character (PPI, C); \ pp_whitespace (PPI); \ } while (0) -#define pp_format_integer(PPI, F, I) \ - output_formatted_integer (pp_buffer (PPI), F, I) +#define pp_format_scalar(PPI, F, S) \ + output_formatted_scalar (pp_buffer (PPI), F, S) #define pp_wide_integer(PPI, I) \ - pp_format_integer (PPI, HOST_WIDE_INT_PRINT_DEC, (HOST_WIDE_INT) I) + pp_format_scalar (PPI, HOST_WIDE_INT_PRINT_DEC, (HOST_WIDE_INT) I) +#define pp_pointer(PPI, P) pp_format_scalar (PPI, "%p", p) #define pp_identifier(PPI, ID) output_add_string (pp_buffer (PPI), ID) #define pp_tree_identifier(PPI, T) pp_identifier(PPI, IDENTIFIER_POINTER (T)) |