diff options
author | Ranjit Mathew <rmathew@hotmail.com> | 2004-10-15 18:43:10 +0000 |
---|---|---|
committer | Ranjit Mathew <rmathew@gcc.gnu.org> | 2004-10-15 18:43:10 +0000 |
commit | a1402da35c57aa1c074bfc50b20a2a3135ff2987 (patch) | |
tree | 2a09c6df4e237628631d8886fb56b90f7e8897d8 /gcc/java/class.c | |
parent | e68a07e8d547b03b769527365a40721d4d9298c6 (diff) | |
download | gcc-a1402da35c57aa1c074bfc50b20a2a3135ff2987.zip gcc-a1402da35c57aa1c074bfc50b20a2a3135ff2987.tar.gz gcc-a1402da35c57aa1c074bfc50b20a2a3135ff2987.tar.bz2 |
parse.y (parse_warning_context): Remove ATTRIBUTE_PRINTF_2 and rename parameter 'msg' to 'msgid' in function...
* parse.y (parse_warning_context): Remove ATTRIBUTE_PRINTF_2 and
rename parameter 'msg' to 'msgid' in function declaration.
(issue_warning_error_from_context): Likewise.
(yyerror): Rename parameter 'msg' to 'msgid'.
(all over): Use new quoting style for diagnostics.
* check-init.c: Use %<, %> and %q for quoting in diagnostics,
if possible, else convert `foo' to 'foo'.
* class.c: Likewise.
* decl.c: Likewise.
* expr.c: Likewise.
* jcf-io.c: Likewise.
* jcf-parse.c: Likewise.
* lang.c: Likewise.
* lex.c: Likewise.
* parse.h: Likewise.
From-SVN: r89110
Diffstat (limited to 'gcc/java/class.c')
-rw-r--r-- | gcc/java/class.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/class.c b/gcc/java/class.c index 6a417a7..a6c5d49 100644 --- a/gcc/java/class.c +++ b/gcc/java/class.c @@ -2034,7 +2034,7 @@ layout_class (tree this_class) char *report; tree current; - sprintf (buffer, " with `%s'", + sprintf (buffer, " with '%s'", IDENTIFIER_POINTER (DECL_NAME (TYPE_NAME (this_class)))); obstack_grow (&temporary_obstack, buffer, strlen (buffer)); @@ -2042,7 +2042,7 @@ layout_class (tree this_class) current = TREE_CHAIN (current)) { tree decl = TYPE_NAME (TREE_PURPOSE (current)); - sprintf (buffer, "\n which inherits from `%s' (%s:%d)", + sprintf (buffer, "\n which inherits from '%s' (%s:%d)", IDENTIFIER_POINTER (DECL_NAME (decl)), DECL_SOURCE_FILE (decl), DECL_SOURCE_LINE (decl)); |