aboutsummaryrefslogtreecommitdiff
path: root/gcc/java/jv-scan.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/jv-scan.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/jv-scan.c')
-rw-r--r--gcc/java/jv-scan.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/gcc/java/jv-scan.c b/gcc/java/jv-scan.c
index 9892605..3c55d59 100644
--- a/gcc/java/jv-scan.c
+++ b/gcc/java/jv-scan.c
@@ -96,7 +96,7 @@ static const struct option options[] =
static void
usage (void)
{
- fprintf (stderr, _("Try `jv-scan --help' for more information.\n"));
+ fprintf (stderr, _("Try 'jv-scan --help' for more information.\n"));
exit (1);
}
@@ -108,7 +108,7 @@ help (void)
printf (_(" --no-assert Don't recognize the assert keyword\n"));
printf (_(" --complexity Print cyclomatic complexity of input file\n"));
printf (_(" --encoding NAME Specify encoding of input file\n"));
- printf (_(" --print-main Print name of class containing `main'\n"));
+ printf (_(" --print-main Print name of class containing 'main'\n"));
printf (_(" --list-class List all classes defined in file\n"));
printf (_(" --list-filename Print input filename when listing class names\n"));
printf (_(" -o FILE Set output file name\n"));
@@ -210,10 +210,10 @@ main (int argc, char **argv)
/* Check on bad usage */
if (flag_find_main + flag_dump_class + flag_complexity > 1)
fatal_error
- ("only one of `--print-main', `--list-class', and `--complexity' allowed");
+ ("only one of '--print-main', '--list-class', and '--complexity' allowed");
if (output_file && !(out = fopen (output_file, "w")))
- fatal_error ("can't open output file `%s'", output_file);
+ fatal_error ("can't open output file '%s'", output_file);
ft = ftell (out);
@@ -248,7 +248,7 @@ main (int argc, char **argv)
reset_report ();
}
else
- fatal_error ("file not found `%s'", argv [i]);
+ fatal_error ("file not found '%s'", argv [i]);
}
/* Flush and close */