aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
authorNeil Booth <neil@daikokuya.demon.co.uk>2001-12-01 18:42:49 +0000
committerNeil Booth <neil@gcc.gnu.org>2001-12-01 18:42:49 +0000
commit357351e5a702dde74fbccf7ba88027e166b0111c (patch)
tree02b11de5e6c77cacd32adb6c82a5a850db7e4da8 /gcc/java
parent2203610302a49bd13423676ab292ddefc6e1219c (diff)
downloadgcc-357351e5a702dde74fbccf7ba88027e166b0111c.zip
gcc-357351e5a702dde74fbccf7ba88027e166b0111c.tar.gz
gcc-357351e5a702dde74fbccf7ba88027e166b0111c.tar.bz2
c-decl.c (duplicate_decls, [...]): Remove trailing period from diagnostics.
* c-decl.c (duplicate_decls, parmlist_tags_warning): Remove trailing period from diagnostics. * c-lex.c (cb_file_change): Similarly. * cppmacro.c (check_trad_stringification): Similarly. * gcc.c (do_spec_1): Similarly. * genattr.c (main): Similarly. * genattrtab.c (main, operate_exp, make_length_attrs): Similarly. * gencodes.c (main): Similarly. * genconfig.c (main): Similarly. * genconstants.c (main): Similarly. * genemit.c (main): Similarly. * genextract.c (main): Similarly. * genopinit.c (main): Similarly. * genoutput.c (main): Similarly. * genpeep.c (main): Similarly. * genrecog.c (main): Similarly. * mips-tfile.c (add_file, error): Similarly. * profile.c (init_branch_prob): Similarly. * reload1.c (spill_failure): Similarly. * stmt.c (parse_output_constraint): Similarly. * varasm.c (assemble_variable): Similarly. cp: * class.c (finish_struct): Similarly. * decl.c (check_tag_decl): Similarly. * lex.c (cxx_set_yydebug): Similarly. * typeck2.c (friendly_abort): Similarly. java: * expr.c (expand_byte_code): Similarly. * jcf-parse.c (load_class, jcf_parse): Similarly. * jcf-write.c (generate_classfile): Similarly. * lex.c (java_lex): Similarly. From-SVN: r47517
Diffstat (limited to 'gcc/java')
-rw-r--r--gcc/java/ChangeLog7
-rw-r--r--gcc/java/expr.c4
-rw-r--r--gcc/java/jcf-parse.c4
-rw-r--r--gcc/java/jcf-write.c2
-rw-r--r--gcc/java/lex.c2
5 files changed, 13 insertions, 6 deletions
diff --git a/gcc/java/ChangeLog b/gcc/java/ChangeLog
index d84e110e..1c0f009 100644
--- a/gcc/java/ChangeLog
+++ b/gcc/java/ChangeLog
@@ -1,3 +1,10 @@
+2001-12-01 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * expr.c (expand_byte_code): Remove trailing periods from messages.
+ * jcf-parse.c (load_class, jcf_parse): Similarly.
+ * jcf-write.c (generate_classfile): Similarly.
+ * lex.c (java_lex): Similarly.
+
2001-11-30 Bryce McKinlay <bryce@waitaki.otago.ac.nz>
* class.c (add_interface_do): Set BINFO_VPTR_FIELD.
diff --git a/gcc/java/expr.c b/gcc/java/expr.c
index cf9bef4..182d247 100644
--- a/gcc/java/expr.c
+++ b/gcc/java/expr.c
@@ -2747,7 +2747,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;
}
@@ -2784,7 +2784,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-parse.c b/gcc/java/jcf-parse.c
index ec76e81..b52d7b1 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 incorrect 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,
diff --git a/gcc/java/jcf-write.c b/gcc/java/jcf-write.c
index 2d3e333..1b9ff7b 100644
--- a/gcc/java/jcf-write.c
+++ b/gcc/java/jcf-write.c
@@ -2952,7 +2952,7 @@ generate_classfile (clas, state)
tree init = DECL_INITIAL (part);
static tree ConstantValue_node = NULL_TREE;
if (TREE_TYPE (part) != TREE_TYPE (init))
- fatal_error ("field initializer type mismatch.");
+ fatal_error ("field initializer type mismatch");
ptr = append_chunk (NULL, 8, state);
if (ConstantValue_node == NULL_TREE)
ConstantValue_node = get_identifier ("ConstantValue");
diff --git a/gcc/java/lex.c b/gcc/java/lex.c
index 779bbcb..38e1716 100644
--- a/gcc/java/lex.c
+++ b/gcc/java/lex.c
@@ -1312,7 +1312,7 @@ java_lex (java_lval)
if (c == '\n' || c == UEOF) /* ULT */
{
lineno--; /* Refer to the line the terminator was seen */
- java_lex_error ("String not terminated at end of line.", 0);
+ java_lex_error ("String not terminated at end of line", 0);
lineno++;
}