aboutsummaryrefslogtreecommitdiff
path: root/gcc/java
diff options
context:
space:
mode:
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++;
}