diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-12 18:34:51 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2002-08-12 18:34:51 +0000 |
commit | 8e10b18fdb80b976dace5d092f60e02741bb974f (patch) | |
tree | b1a38ce7e84fb408f819801ff4a4661e61e604cb /gcc/pretty-print.h | |
parent | 9c348f2df163c8711eb9f23af92dc98e3d00c284 (diff) | |
download | gcc-8e10b18fdb80b976dace5d092f60e02741bb974f.tar.gz |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@56236 138bc75d-0d04-0410-961f-82ee72b054a4
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 958e1ee9e5c..5efb9e73078 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)) |