diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-03 20:02:56 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-03 20:02:56 +0000 |
commit | 76a6451b75db81811cf67469d96f5bd925ec8555 (patch) | |
tree | 1f285eab2b338e8cc3e087026d539a4361650434 /gcc/pretty-print.c | |
parent | 5d982d498c7f0154fd61f9119805b8c8a705055e (diff) | |
download | gcc-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/pretty-print.c')
-rw-r--r-- | gcc/pretty-print.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/pretty-print.c b/gcc/pretty-print.c index b1190632b27..9489d795b26 100644 --- a/gcc/pretty-print.c +++ b/gcc/pretty-print.c @@ -515,7 +515,7 @@ pp_verbatim (pretty_printer *pp, const char *msg, ...) /* Have PRETTY-PRINTER start a new line. */ void -pp_newline (pretty_printer *pp) +pp_base_newline (pretty_printer *pp) { obstack_1grow (&pp->buffer->obstack, '\n'); pp->buffer->line_length = 0; @@ -523,7 +523,7 @@ pp_newline (pretty_printer *pp) /* Have PRETTY-PRINTER add a CHARACTER. */ void -pp_character (pretty_printer *pp, int c) +pp_base_character (pretty_printer *pp, int c) { if (pp_is_wrapping_line (pp) && pp_remaining_character_count_for_line (pp) <= 0) @@ -539,7 +539,7 @@ pp_character (pretty_printer *pp, int c) /* Append a STRING to the output area of PRETTY-PRINTER; the STRING may be line-wrapped if in appropriate mode. */ void -pp_string (pretty_printer *pp, const char *str) +pp_base_string (pretty_printer *pp, const char *str) { pp_maybe_wrap_text (pp, str, str + (str ? strlen (str) : 0)); } |