diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-30 12:54:29 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-04-30 12:54:29 +0000 |
commit | 3085426c6774a168d6fee698192da3f0bc581878 (patch) | |
tree | a2666498880556a83ff9f0c75bb3670739099bdc /gcc/diagnostic.h | |
parent | c4327e0e7ee34321b7d9fa2b8bb89bcc9c1a65dd (diff) | |
download | gcc-3085426c6774a168d6fee698192da3f0bc581878.tar.gz |
* diagnostic.h (output_formatted_scalar): Tweak.
* diagnostic.c (output_long_decimal): Likewise.
(output_unsigned_decimal): Likewise.
(output_long_unsigned_decimal): Likewise.
(output_octal): Likewise.
(output_long_octal): Likewise.
(output_hexadecimal): Likewise.
(output_long_hexadecimal): Likewise.
(output_pointer): New function.
(output_format): Use it. Recognize "%p" format specifier.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@66287 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/diagnostic.h')
-rw-r--r-- | gcc/diagnostic.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/diagnostic.h b/gcc/diagnostic.h index 2c822fc1617..acbb6280e2d 100644 --- a/gcc/diagnostic.h +++ b/gcc/diagnostic.h @@ -160,10 +160,10 @@ struct output_buffer /* True if BUFFER is in line-wrapping mode. */ #define output_is_line_wrapping(BUFFER) (output_line_cutoff (BUFFER) > 0) -#define output_formatted_scalar(BUFFER, FORMAT, INTEGER) \ +#define output_formatted_scalar(BUFFER, FORMAT, SCALAR) \ do \ { \ - sprintf ((BUFFER)->digit_buffer, FORMAT, INTEGER); \ + sprintf ((BUFFER)->digit_buffer, FORMAT, SCALAR); \ output_add_string (BUFFER, (BUFFER)->digit_buffer); \ } \ while (0) |