diff options
author | Jonathan Wakely <jwakely.gcc@gmail.com> | 2010-06-02 22:37:28 +0000 |
---|---|---|
committer | Jonathan Wakely <redi@gcc.gnu.org> | 2010-06-02 23:37:28 +0100 |
commit | 6c07d08b90b124d8d3be8015726caf799e2e2a13 (patch) | |
tree | 344670073012f630799b552a3fed301046fc5c8c /gcc/cp/parser.c | |
parent | eef4a60326a7929def9be8f4bccbf69e96752917 (diff) | |
download | gcc-6c07d08b90b124d8d3be8015726caf799e2e2a13.zip gcc-6c07d08b90b124d8d3be8015726caf799e2e2a13.tar.gz gcc-6c07d08b90b124d8d3be8015726caf799e2e2a13.tar.bz2 |
parser.c (cp_parser_mem_initializer_list): Change error text.
2010-06-02 Jonathan Wakely <jwakely.gcc@gmail.com>
* parser.c (cp_parser_mem_initializer_list): Change error text.
From-SVN: r160198
Diffstat (limited to 'gcc/cp/parser.c')
-rw-r--r-- | gcc/cp/parser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/gcc/cp/parser.c b/gcc/cp/parser.c index 4a50b55..05d713c 100644 --- a/gcc/cp/parser.c +++ b/gcc/cp/parser.c @@ -10136,7 +10136,7 @@ cp_parser_mem_initializer_list (cp_parser* parser) mem-initializer-list. */ if (!DECL_CONSTRUCTOR_P (current_function_decl)) error_at (token->location, - "only constructors take base initializers"); + "only constructors take member initializers"); /* Loop through the list. */ while (true) |