diff options
author | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-18 23:05:53 +0000 |
---|---|---|
committer | gdr <gdr@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-07-18 23:05:53 +0000 |
commit | f2791601052331e4a420dc9b2e94e6c422a2d9e4 (patch) | |
tree | e81f45be8f3697dff7a213072c4faf54291168c6 /gcc/c-objc-common.c | |
parent | 7f42fe2449eeb85253e771f44f8f2a47be961d72 (diff) | |
download | gcc-f2791601052331e4a420dc9b2e94e6c422a2d9e4.tar.gz |
* c-common.c: Don't undefine GCC_DIAG_STYLE.
(fname_decl): Don't use xxx_with_decl.
(c_add_case_label): Likewise.
(handle_section_attribute): Likewise.
(handle_alias_attribute): Likewise.
(handle_no_instrument_function_attribute): Likewise.
(handle_no_limit_stack_attribute): Likewise.
* c-objc-common.c (c_tree_printer): Print IDENTIFIER_NODEs.
* c-format.c (gcc_cdiag_char_table): Add '%E' format-specifier.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@69573 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/c-objc-common.c')
-rw-r--r-- | gcc/c-objc-common.c | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/gcc/c-objc-common.c b/gcc/c-objc-common.c index eacc719bdec..0d44e1d883b 100644 --- a/gcc/c-objc-common.c +++ b/gcc/c-objc-common.c @@ -407,6 +407,7 @@ c_objc_common_finish_file (void) source-level entity onto BUFFER. The meaning of the format specifiers is as follows: %D: a general decl, + %E: An expression, %F: a function declaration, %T: a type. @@ -432,6 +433,14 @@ c_tree_printer (output_buffer *buffer, text_info *text) } return true; + case 'E': + if (TREE_CODE (t) == IDENTIFIER_NODE) + { + output_add_string (buffer, IDENTIFIER_POINTER (t)); + return true; + } + return false; + default: return false; } |