summaryrefslogtreecommitdiffstats
path: root/gcc/java/lex.c
diff options
context:
space:
mode:
authorrmathew <rmathew@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-15 18:43:10 +0000
committerrmathew <rmathew@138bc75d-0d04-0410-961f-82ee72b054a4>2004-10-15 18:43:10 +0000
commite9ff100d28c2212bcba20417d62187a6cc51d65e (patch)
tree2a09c6df4e237628631d8886fb56b90f7e8897d8 /gcc/java/lex.c
parenta51af15b2dc9503a22d9ab9e8996bcc1ff90897e (diff)
downloadppe42-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/lex.c')
-rw-r--r--gcc/java/lex.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/java/lex.c b/gcc/java/lex.c
index 94e37b014b4..54df7badd22 100644
--- a/gcc/java/lex.c
+++ b/gcc/java/lex.c
@@ -253,7 +253,7 @@ java_new_lexer (FILE *finput, const char *encoding)
}
if (enc_error)
- fatal_error ("unknown encoding: `%s'\nThis might mean that your locale's encoding is not supported\nby your system's iconv(3) implementation. If you aren't trying\nto use a particular encoding for your input file, try the\n`--encoding=UTF-8' option", encoding);
+ fatal_error ("unknown encoding: %qs\nThis might mean that your locale's encoding is not supported\nby your system's iconv(3) implementation. If you aren't trying\nto use a particular encoding for your input file, try the\n%<--encoding=UTF-8%> option", encoding);
return lex;
}
OpenPOWER on IntegriCloud