aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-12-03 19:15:19 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-12-03 19:15:19 +0000
commitc725bd79e7613da00fb1b5bc440706a219db7653 (patch)
tree576734ca59686c61b721cf09db402391f39d9a74 /gcc/java
parentbd8fd826dd40c4cd293ce57e5ceea39fef21b493 (diff)
downloadgcc-c725bd79e7613da00fb1b5bc440706a219db7653.zip
gcc-c725bd79e7613da00fb1b5bc440706a219db7653.tar.gz
gcc-c725bd79e7613da00fb1b5bc440706a219db7653.tar.bz2
c-decl.c (grokdeclarator): Use ISO word.
* c-decl.c (grokdeclarator): Use ISO word. * cppinit.c: Remove leading capital from diagnostic messages, as per GNU coding standards. * diagnostic.c: Similarly. * emit-rtl.c: Similarly. * final.c: Similarly. * gcc.c: Similarly. * tradcpp.c: Similarly. * config/arm/arm.c: Similarly. * config/arm/arm.h: Similarly. * config/avr/avr.c: Similarly. * config/avr/avr.h: Similarly. * config/c4x/c4x.c: Similarly. * config/cris/cris.c: Similarly. * config/cris/cris.h: Similarly. * config/d30v/d30v.c: Similarly. * config/dsp16xx/dsp16xx.c: Similarly. * config/dsp16xx/dsp16xx.h: Similarly. * config/h8300/h8300.c: Similarly. * config/i386/i386.c: Similarly. * config/i386/xm-djgpp.h: Similarly. * config/i960/i960.h: Similarly. * config/m32r/m32r.c: Similarly. * config/m68hc11/m68hc11.c: Similarly. * config/m88k/m88k.c: Similarly. * config/m88k/m88k.h: Similarly. * config/mcore/mcore.c: Similarly. * config/mcore/mcore.h: Similarly. * config/mips/mips.c: Similarly. * config/mmix/mmix.c: Similarly. * config/pa/pa.c: Similarly. * config/rs6000/rs6000.c: Similarly. * config/rs6000/sysv4.h: Similarly. * config/s390/s390.c: Similarly. * config/sparc/sparc.c: Similarly. * config/v850/v850-c.c: Similarly. * config/v850/v850.c: Similarly. ch: * actions.c: Remove leading capital from diagnostic messages, as per GNU coding standards. * decl.c: Similarly. * expr.c: Similarly. * inout.c: Similarly. * lang.c: Similarly. * loop.c: Similarly. * nloop.c: Similarly. * parse.c: Similarly. * satisfy.c: Similarly. * tasking.c: Similarly. * tree.c: Similarly. * typeck.c: Similarly. cp: * typeck2.c: Remove leading capital from diagnostic messages, as per GNU coding standards. f: * com.c: Remove leading capital from diagnostic messages, as per GNU coding standards. * g77spec.c: Similarly. * lex.c: Similarly. java: * expr.c: Remove leading capital from diagnostic messages, as per GNU coding standards. * jcf-io.c: Similarly. * jcf-parse.c: Similarly. * jv-scan.c: Similarly. * jvspec.c: Similarly. * mangle.c: Similarly. From-SVN: r47558
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog10
-rw-r--r--gcc/java/expr.c12
-rw-r--r--gcc/java/jcf-io.c2
-rw-r--r--gcc/java/jcf-parse.c6
-rw-r--r--gcc/java/jv-scan.c6
-rw-r--r--gcc/java/jvspec.c2
-rw-r--r--gcc/java/lex.c2
-rw-r--r--gcc/java/mangle.c2
-rw-r--r--gcc/java/parse.y4
9 files changed, 28 insertions, 18 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index ac6ad62..e61445b 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,13 @@
+2001-12-03 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * expr.c: Remove leading capital from diagnostic messages, as
+ per GNU coding standards.
+ * jcf-io.c: Similarly.
+ * jcf-parse.c: Similarly.
+ * jv-scan.c: Similarly.
+ * jvspec.c: Similarly.
+ * mangle.c: Similarly.
+
2001-12-02 Tang Ching-Hui <nicholas@cs.nthu.edu.tw>
Alexandre Petit-Bianco <apbianco@redhat.com>
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index 0d3c61d..ef347d6 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -1954,7 +1954,7 @@ expand_invoke (opcode, method_ref_index, nargs)
method_name, method_signature);
if (method == NULL_TREE)
{
- error ("Class '%s' has no method named '%s' matching signature '%s'",
+ error ("class '%s' has no method named '%s' matching signature '%s'",
self_name,
IDENTIFIER_POINTER (method_name),
IDENTIFIER_POINTER (method_signature));
@@ -2254,13 +2254,13 @@ expand_java_field_op (is_static, is_putting, field_ref_index)
}
else if (field_decl == NULL_TREE)
{
- error ("Missing field '%s' in '%s'",
+ error ("missing field '%s' in '%s'",
IDENTIFIER_POINTER (field_name), self_name);
is_error = 1;
}
else if (build_java_signature (TREE_TYPE (field_decl)) != field_signature)
{
- error ("Mismatching signature for field '%s' in '%s'",
+ error ("mismatching signature for field '%s' in '%s'",
IDENTIFIER_POINTER (field_name), self_name);
is_error = 1;
}
@@ -2533,7 +2533,7 @@ java_lang_expand_expr (exp, target, tmode, modifier)
target, tmode, modifier);
default:
- internal_error ("Can't expand %s", tree_code_name [TREE_CODE (exp)]);
+ internal_error ("can't expand %s", tree_code_name [TREE_CODE (exp)]);
}
}
@@ -2754,7 +2754,7 @@ expand_byte_code (jcf, method)
if (dead_code_index != -1)
{
/* We've just reached the end of a region of dead code. */
- warning ("Unreachable bytecode from %d to before %d",
+ warning ("unreachable bytecode from %d to before %d",
dead_code_index, PC);
dead_code_index = -1;
}
@@ -2791,7 +2791,7 @@ expand_byte_code (jcf, method)
if (dead_code_index != -1)
{
/* We've just reached the end of a region of dead code. */
- warning ("Unreachable bytecode from %d to the end of the method",
+ warning ("unreachable bytecode from %d to the end of the method",
dead_code_index);
}
}
diff --git a/gcc/java/jcf-io.c b/gcc/java/jcf-io.c
index ba56b18..2119770 100644
--- a/gcc/java/jcf-io.c
+++ b/gcc/java/jcf-io.c
@@ -407,7 +407,7 @@ DEFUN(find_class, (classname, classname_length, jcf, source_ok),
if (! java && ! class && java_buf.st_mtime > class_buf.st_mtime)
{
if (flag_newer)
- warning ("Source file for class `%s' is newer than its matching class file. Source file `%s' used instead", classname, java_buffer);
+ warning ("source file for class `%s' is newer than its matching class file. Source file `%s' used instead", classname, java_buffer);
class = -1;
}
diff --git a/gcc/java/jcf-parse.c b/gcc/java/jcf-parse.c
index b52d7b1..15dcd07 100644
--- a/gcc/java/jcf-parse.c
+++ b/gcc/java/jcf-parse.c
@@ -682,7 +682,7 @@ load_class (class_or_name, verbose)
}
if (!class_loaded && verbose)
- error ("Cannot find file for class %s", IDENTIFIER_POINTER (saved));
+ error ("cannot find file for class %s", IDENTIFIER_POINTER (saved));
}
/* Parse the .class file JCF. */
@@ -750,7 +750,7 @@ jcf_parse (jcf)
-fforce-classes-archive-check was specified. */
if (!jcf->right_zip
&& (!flag_emit_class_files || flag_force_classes_archive_check))
- fatal_error ("The `java.lang.Object' that was found in `%s' didn't have the special zero-length `gnu.gcj.gcj-compiled' attribute. This generally means that your classpath is incorrectly set. Use `info gcj \"Input Options\"' to see the info page describing how to set the classpath.", jcf->filename);
+ fatal_error ("the `java.lang.Object' that was found in `%s' didn't have the special zero-length `gnu.gcj.gcj-compiled' attribute. This generally means that your classpath is incorrectly set. Use `info gcj \"Input Options\"' to see the info page describing how to set the classpath", jcf->filename);
}
else
all_class_list = tree_cons (NULL_TREE,
@@ -1060,7 +1060,7 @@ yyparse ()
{
const char *saved_input_filename = input_filename;
input_filename = value;
- warning ("source file seen twice on command line and will be compiled only once.");
+ warning ("source file seen twice on command line and will be compiled only once");
input_filename = saved_input_filename;
}
else
diff --git a/gcc/java/jv-scan.c b/gcc/java/jv-scan.c
index 8d4ad78..bf7fd41 100644
--- a/gcc/java/jv-scan.c
+++ b/gcc/java/jv-scan.c
@@ -180,10 +180,10 @@ DEFUN (main, (argc, 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);
@@ -219,7 +219,7 @@ DEFUN (main, (argc, argv),
reset_report ();
}
else
- fatal_error ("File not found `%s'", argv [i]);
+ fatal_error ("file not found `%s'", argv [i]);
}
/* Flush and close */
diff --git a/gcc/java/jvspec.c b/gcc/java/jvspec.c
index 0150d03..1b53bf5 100644
--- a/gcc/java/jvspec.c
+++ b/gcc/java/jvspec.c
@@ -393,7 +393,7 @@ lang_specific_driver (in_argc, in_argv, in_added_libraries)
num_args += 3;
if (class_files_count + zip_files_count > 0)
{
- error ("Warning: already-compiled .class files ignored with -C");
+ error ("warning: already-compiled .class files ignored with -C");
num_args -= class_files_count + zip_files_count;
class_files_count = 0;
zip_files_count = 0;
diff --git a/gcc/java/lex.c b/gcc/java/lex.c
index 38e1716..1eed233 100644
--- a/gcc/java/lex.c
+++ b/gcc/java/lex.c
@@ -297,7 +297,7 @@ java_new_lexer (finput, 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: `%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);
return lex;
}
diff --git a/gcc/java/mangle.c b/gcc/java/mangle.c
index aa95086..93d8fe7 100644
--- a/gcc/java/mangle.c
+++ b/gcc/java/mangle.c
@@ -82,7 +82,7 @@ java_mangle_decl (obstack, decl)
mangle_method_decl (decl);
break;
default:
- internal_error ("Can't mangle %s", tree_code_name [TREE_CODE (decl)]);
+ internal_error ("can't mangle %s", tree_code_name [TREE_CODE (decl)]);
}
return finish_mangling ();
}
diff --git a/gcc/java/parse.y b/gcc/java/parse.y
index f63faa3..09d5cd6 100644
--- a/gcc/java/parse.y
+++ b/gcc/java/parse.y
@@ -6871,7 +6871,7 @@ read_import_dir (wfl)
static int first = 1;
if (first)
{
- error ("Can't find default package `%s'. Check the CLASSPATH environment variable and the access to the archives.", package_name);
+ error ("Can't find default package `%s'. Check the CLASSPATH environment variable and the access to the archives", package_name);
java_error_count++;
first = 0;
}
@@ -13543,7 +13543,7 @@ patch_binop (node, wfl_op1, wfl_op2)
(TREE_CODE (op2) == INTEGER_CST &&
! TREE_INT_CST_LOW (op2) && ! TREE_INT_CST_HIGH (op2))))
{
- parse_warning_context (wfl_operator, "Evaluating this expression will result in an arithmetic exception being thrown.");
+ parse_warning_context (wfl_operator, "Evaluating this expression will result in an arithmetic exception being thrown");
TREE_CONSTANT (node) = 0;
}