aboutsummaryrefslogtreecommitdiff
path: root/gcc/pretty-print.c
diff options
context:
space:
mode:
authorGabriel Dos Reis <gdr@gcc.gnu.org>2003-08-03 20:02:56 +0000
committerGabriel Dos Reis <gdr@gcc.gnu.org>2003-08-03 20:02:56 +0000
commit8f7ace48dd79e309d9067717828a44544c8aa4e4 (patch)
tree1f285eab2b338e8cc3e087026d539a4361650434 /gcc/pretty-print.c
parent3f2fa4846ecf67496029dbcff97767397c97df8a (diff)
downloadgcc-8f7ace48dd79e309d9067717828a44544c8aa4e4.zip
gcc-8f7ace48dd79e309d9067717828a44544c8aa4e4.tar.gz
gcc-8f7ace48dd79e309d9067717828a44544c8aa4e4.tar.bz2
pretty-print.h: Adjust macro definitions.
* 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. From-SVN: r70128
Diffstat (limited to 'gcc/pretty-print.c')
-rw-r--r--gcc/pretty-print.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/pretty-print.c b/gcc/pretty-print.c
index b119063..9489d79 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));
}