From: Volker Reichelt Date: Mon, 5 Jun 2017 17:40:32 +0000 (+0000) Subject: parser.c (cp_parser_base_specifier): Fix typos in error messages. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=2f20e7db2caea4909ddff539b2419c9f34c907c4;p=gcc.git 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 --- diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 5515ac738b7..f9bd9548eb8 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -1,3 +1,7 @@ +2017-06-05 Volker Reichelt + + * parser.c (cp_parser_base_specifier): Fix typos in error messages. + 2017-06-02 Nathan Sidwell Remove lang_type_ptrmem. diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 313eebbc3d5..891341d1e81 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, - "% specified more than once in base-specified"); + "% 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; }