aboutsummaryrefslogtreecommitdiff
path: root/gcc/cp
diff options
context:
space:
mode:
Diffstat (limited to 'gcc/cp')
-rw-r--r--gcc/cp/ChangeLog7
-rw-r--r--gcc/cp/call.c2
-rw-r--r--gcc/cp/except.c2
-rw-r--r--gcc/cp/init.c2
-rw-r--r--gcc/cp/xref.c2
5 files changed, 11 insertions, 4 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 4d66a5d..2b6914b 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,10 @@
+2001-12-02 Neil Booth <neil@daikokuya.demon.co.uk>
+
+ * call.c (build_java_interface_fn_ref): Similarly.
+ * except.c (is_admissible_throw_operand): Similarly.
+ * init.c (build_java_class_ref): Similarly.
+ * xref.c (open_xref_file): Similarly.
+
2001-12-01 Neil Booth <neil@daikokuya.demon.co.uk>
* class.c (finish_struct): Remove trailing periods from messages.
diff --git a/gcc/cp/call.c b/gcc/cp/call.c
index e4256b6..0a59b17 100644
--- a/gcc/cp/call.c
+++ b/gcc/cp/call.c
@@ -4398,7 +4398,7 @@ build_java_interface_fn_ref (fn, instance)
if (!iface_ref || TREE_CODE (iface_ref) != VAR_DECL
|| DECL_CONTEXT (iface_ref) != iface)
{
- cp_error ("Could not find class$ field in java interface type `%T'",
+ cp_error ("could not find class$ field in java interface type `%T'",
iface);
return error_mark_node;
}
diff --git a/gcc/cp/except.c b/gcc/cp/except.c
index 003c3e6..079df97 100644
--- a/gcc/cp/except.c
+++ b/gcc/cp/except.c
@@ -772,7 +772,7 @@ is_admissible_throw_operand (expr)
conversion. */
else if (CLASS_TYPE_P (type) && CLASSTYPE_PURE_VIRTUALS (type))
{
- cp_error ("Expression '%E' of abstract class type '%T' cannot be used in throw-expression", expr, type);
+ cp_error ("expression '%E' of abstract class type '%T' cannot be used in throw-expression", expr, type);
return false;
}
diff --git a/gcc/cp/init.c b/gcc/cp/init.c
index 06c1c43..b7b230d 100644
--- a/gcc/cp/init.c
+++ b/gcc/cp/init.c
@@ -2138,7 +2138,7 @@ build_java_class_ref (type)
break;
}
if (!field)
- internal_error ("Can't find class$");
+ internal_error ("can't find class$");
}
class_decl = IDENTIFIER_GLOBAL_VALUE (name);
diff --git a/gcc/cp/xref.c b/gcc/cp/xref.c
index dd884db..5a2127b 100644
--- a/gcc/cp/xref.c
+++ b/gcc/cp/xref.c
@@ -823,7 +823,7 @@ open_xref_file(file)
if (xref_file == NULL)
{
- error("Can't create cross-reference file `%s'", xref_name);
+ error("can't create cross-reference file `%s'", xref_name);
doing_xref = 0;
}
}