aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jvspec.c
diff options
context:
space:
mode:
authorJoseph Myers <joseph@codesourcery.com>2004-11-25 11:13:38 +0000
committerJoseph Myers <jsm28@gcc.gnu.org>2004-11-25 11:13:38 +0000
commit597cdf4f4354fce6b418f8d628a8a0f5ea778e34 (patch)
tree67160e01dfbb1e6dc24efedebabe3742b5e5cbe4 /gcc/java/jvspec.c
parentcc175e7c89539b0b55ef73c0ba9c7a6e062cc0d4 (diff)
downloadgcc-597cdf4f4354fce6b418f8d628a8a0f5ea778e34.zip
gcc-597cdf4f4354fce6b418f8d628a8a0f5ea778e34.tar.gz
gcc-597cdf4f4354fce6b418f8d628a8a0f5ea778e34.tar.bz2
darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Use %qs instead of `%s' in diagnostic.
* config/rs6000/darwin.h (SUBTARGET_OVERRIDE_OPTIONS): Use %qs instead of `%s' in diagnostic. cp: * g++spec.c, lex.c: Avoid ` as left quote in diagnostics. fortran: * f95-lang.c, gfortranspec.c, trans-decl.c: Avoid ` as left quote in diagnostics. java: * gjavah.c, jcf-dump.c, jv-scan.c, jvspec.c: Avoid ` as left quote in diagnostics. From-SVN: r91282
Diffstat (limited to 'gcc/java/jvspec.c')
-rw-r--r--gcc/java/jvspec.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.c
index a3e8c6f..479916b 100644
--- a/gcc/java/jvspec.c
+++ b/gcc/java/jvspec.c
@@ -414,13 +414,13 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
}
if (quote)
- fatal ("argument to `%s' missing\n", quote);
+ fatal ("argument to '%s' missing\n", quote);
if (saw_D && ! main_class_name)
- fatal ("can't specify `-D' without `--main'\n");
+ fatal ("can't specify '-D' without '--main'\n");
if (main_class_name && ! verify_class_name (main_class_name))
- fatal ("`%s' is not a valid class name", main_class_name);
+ fatal ("'%s' is not a valid class name", main_class_name);
num_args = argc + added;
if (saw_resource)
@@ -531,7 +531,7 @@ lang_specific_driver (int *in_argc, const char *const **in_argv,
if (strncmp (argv[i], "-fmain=", 7) == 0)
{
if (! will_link)
- fatal ("cannot specify `main' class when not linking");
+ fatal ("cannot specify 'main' class when not linking");
--j;
continue;
}