diff options
| author | rmathew <rmathew@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-15 18:43:10 +0000 |
|---|---|---|
| committer | rmathew <rmathew@138bc75d-0d04-0410-961f-82ee72b054a4> | 2004-10-15 18:43:10 +0000 |
| commit | e9ff100d28c2212bcba20417d62187a6cc51d65e (patch) | |
| tree | 2a09c6df4e237628631d8886fb56b90f7e8897d8 /gcc/java/lang.c | |
| parent | a51af15b2dc9503a22d9ab9e8996bcc1ff90897e (diff) | |
| download | ppe42-gcc-e9ff100d28c2212bcba20417d62187a6cc51d65e.tar.gz ppe42-gcc-e9ff100d28c2212bcba20417d62187a6cc51d65e.zip | |
* 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.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@89110 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/java/lang.c')
| -rw-r--r-- | gcc/java/lang.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/gcc/java/lang.c b/gcc/java/lang.c index eae51a2a689..39277accff1 100644 --- a/gcc/java/lang.c +++ b/gcc/java/lang.c @@ -526,7 +526,7 @@ java_print_error_function (diagnostic_context *context ATTRIBUTE_UNUSED, fprintf (stderr, "%s: ", file); last_error_function_context = DECL_CONTEXT (current_function_decl); - fprintf (stderr, "In class `%s':\n", + fprintf (stderr, "In class '%s':\n", lang_printable_name (last_error_function_context, 0)); } if (last_error_function != current_function_decl) @@ -539,7 +539,7 @@ java_print_error_function (diagnostic_context *context ATTRIBUTE_UNUSED, else { const char *name = lang_printable_name (current_function_decl, 2); - fprintf (stderr, "In %s `%s':\n", + fprintf (stderr, "In %s '%s':\n", (DECL_CONSTRUCTOR_P (current_function_decl) ? "constructor" : "method"), name); |

