summaryrefslogtreecommitdiff
path: root/gcc/c-pretty-print.c
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-03 20:02:56 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2003-08-03 20:02:56 +0000
commit76a6451b75db81811cf67469d96f5bd925ec8555 (patch)
tree1f285eab2b338e8cc3e087026d539a4361650434 /gcc/c-pretty-print.c
parent5d982d498c7f0154fd61f9119805b8c8a705055e (diff)
downloadgcc-76a6451b75db81811cf67469d96f5bd925ec8555.tar.gz
* pretty-print.h: Adjust macro definitions.
* pretty-print.c (pp_newline): Rename to pp_base_newline. (pp_character): Rename to pp_base_character. (pp_string): Rename to pp_base_string. * c-pretty-print.c (pp_buffer): Move to pretty-print.h (pp_newline): Likewise. Adjust. (pp_c_char): Adjust. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70128 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-pretty-print.c')
-rw-r--r--gcc/c-pretty-print.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/gcc/c-pretty-print.c b/gcc/c-pretty-print.c
index 7bb4cb03ed8..295f60eefdd 100644
--- a/gcc/c-pretty-print.c
+++ b/gcc/c-pretty-print.c
@@ -74,8 +74,6 @@ static void pp_c_type_id (c_pretty_printer, tree);
static void pp_c_storage_class_specifier (c_pretty_printer, tree);
static void pp_c_function_specifier (c_pretty_printer, tree);
-#define pp_buffer(PP) pp_base (PP)->buffer
-#define pp_newline(PP) (pp_newline) (pp_base (PP))
/* Declarations. */
@@ -339,7 +337,7 @@ pp_c_char (c_pretty_printer ppi, int c)
break;
default:
if (ISPRINT (c))
- pp_character (&ppi->base, c);
+ pp_character (ppi, c);
else
pp_scalar (ppi, "\\%03o", (unsigned) c);
break;