Skip to content
Snippets Groups Projects
Commit 6c07d08b authored by Jonathan Wakely's avatar Jonathan Wakely Committed by Jonathan Wakely
Browse files

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
parent eef4a603
No related branches found
No related tags found
No related merge requests found
2010-06-02 Jonathan Wakely <jwakely.gcc@gmail.com>
* parser.c (cp_parser_mem_initializer_list): Change error text.
2010-06-02 Jakub Jelinek <jakub@redhat.com>
* cp-objcp-common.c (shadowed_var_for_decl): Change into
......
......@@ -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)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment