summaryrefslogtreecommitdiff
path: root/gcc/pretty-print.h
diff options
context:
space:
mode:
authorgdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-29 19:31:24 +0000
committergdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4>2002-07-29 19:31:24 +0000
commitba21936bc4c2e6323660ba3be59d7ab5a5ea0f2e (patch)
tree34373384a7a2f7e16ad1e90fbdd702a5943f0598 /gcc/pretty-print.h
parent0347ca206b61aae9dedca9a31bafd76622467f4b (diff)
downloadgcc-ba21936bc4c2e6323660ba3be59d7ab5a5ea0f2e.tar.gz
2002-07-29 Gabriel Dos Reis <gdr@nerim.net>
* 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 <gdr@nerim.net> * Make-lang.in (CXX_C_OBJS): Include. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@55845 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/pretty-print.h')
-rw-r--r--gcc/pretty-print.h15
1 files changed, 14 insertions, 1 deletions
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 */