aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
Diffstat (limited to 'gcc')
-rw-r--r--gcc/cp/ChangeLog4
-rw-r--r--gcc/cp/parser.c4
2 files changed, 6 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog
index 5515ac7..f9bd954 100644
--- a/gcc/cp/ChangeLog
+++ b/gcc/cp/ChangeLog
@@ -1,3 +1,7 @@
+2017-06-05 Volker Reichelt <v.reichelt@netcologne.de>
+
+ * parser.c (cp_parser_base_specifier): Fix typos in error messages.
+
2017-06-02 Nathan Sidwell <nathan@acm.org>
Remove lang_type_ptrmem.
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c
index 313eebb..891341d 100644
--- a/gcc/cp/parser.c
+++ b/gcc/cp/parser.c
@@ -23706,7 +23706,7 @@ cp_parser_base_specifier (cp_parser* parser)
if (virtual_p && !duplicate_virtual_error_issued_p)
{
cp_parser_error (parser,
- "%<virtual%> specified more than once in base-specified");
+ "%<virtual%> specified more than once in base-specifier");
duplicate_virtual_error_issued_p = true;
}
@@ -23726,7 +23726,7 @@ cp_parser_base_specifier (cp_parser* parser)
&& !duplicate_access_error_issued_p)
{
cp_parser_error (parser,
- "more than one access specifier in base-specified");
+ "more than one access specifier in base-specifier");
duplicate_access_error_issued_p = true;
}