From ba21936bc4c2e6323660ba3be59d7ab5a5ea0f2e Mon Sep 17 00:00:00 2001 From: gdr Date: Mon, 29 Jul 2002 19:31:24 +0000 Subject: 2002-07-29 Gabriel Dos Reis * Makefile.in (C_OBJS): Include c-pretty-print.o (c-pretty-print.o): Add depency rule. * pretty-print.h: Add more macros. * c-pretty-print.c: New file. * c-pretty-print.h: Likewise. cp/ 2002-07-29 Gabriel Dos Reis * Make-lang.in (CXX_C_OBJS): Include. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55845 138bc75d-0d04-0410-961f-82ee72b054a4 --- gcc/pretty-print.h | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) (limited to 'gcc/pretty-print.h') diff --git a/gcc/pretty-print.h b/gcc/pretty-print.h index d0e52deef8e..958e1ee9e5c 100644 --- a/gcc/pretty-print.h +++ b/gcc/pretty-print.h @@ -53,7 +53,20 @@ struct pretty_print_info #define pp_colon(PPI) output_add_character (pp_buffer (PPI), ':') #define pp_colon_colon(PPI) output_add_string (pp_buffer (PPI), "::") #define pp_arrow(PPI) output_add_string (pp_buffer (PPI), "->") +#define pp_equal(PPI) output_add_character (pp_buffer (PPI), '=') +#define pp_question(PPI) output_add_character (pp_buffer (PPI), '?') +#define pp_bar(PPI) output_add_character (pp_buffer (PPI), '|') +#define pp_carret(PPI) output_add_character (pp_buffer (PPI), '^') +#define pp_ampersand(PPI) output_add_character (pp_buffer (PPI), '&') +#define pp_less(PPI) output_add_character (pp_buffer (PPI), '<') +#define pp_greater(PPI) output_add_character (pp_buffer (PPI), '>') +#define pp_plus(PPI) output_add_character (pp_buffer (PPI), '+') +#define pp_minus(PPI) output_add_character (pp_buffer (PPI), '-') #define pp_star(PPI) output_add_character (pp_buffer (PPI), '*') +#define pp_slash(PPI) output_add_character (pp_buffer (PPI), '/') +#define pp_modulo(PPI) output_add_character (pp_buffer (PPI), '%') +#define pp_exclamation(PPI) output_add_character (pp_buffer (PPI), '!') +#define pp_complement(PPI) output_add_character (pp_buffer (PPI), '~') #define pp_quote(PPI) output_add_character (pp_buffer (PPI), '\'') #define pp_backquote(PPI) output_add_character (pp_buffer (PPI), '`') #define pp_doublequote(PPI) output_add_character (pp_buffer (PPI), '"') @@ -80,7 +93,7 @@ struct pretty_print_info #define pp_tree_identifier(PPI, T) pp_identifier(PPI, IDENTIFIER_POINTER (T)) #define pp_unsupported_tree(PPI, T) \ - output_verbatim (pp_buffer((PPI), "#`%s' not supported by %s#",\ + output_verbatim (pp_buffer(PPI), "#`%s' not supported by %s#",\ tree_code_name[(int) TREE_CODE (T)], __FUNCTION__) #endif /* GCC_PRETTY_PRINT_H */ -- cgit v1.2.1