parser.c (cp_parser_base_specifier): Fix typos in error messages.

* parser.c (cp_parser_base_specifier): Fix typos in error messages.

From-SVN: r248884
This commit is contained in:
Volker Reichelt 2017-06-05 17:40:32 +00:00 committed by Volker Reichelt
parent 1d135d9873
commit 2f20e7db2c
2 changed files with 6 additions and 2 deletions

View File

@ -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.

View File

@ -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;
}