* decl.c (grokdeclarator): Fix line-wrapping.

From-SVN: r118210
This commit is contained in:
Dirk Mueller 2006-10-30 23:56:15 +00:00 committed by Dirk Mueller
parent 32b1d579ae
commit f88d05c05f
2 changed files with 5 additions and 2 deletions

View File

@ -3,6 +3,7 @@
PR c++/28704
* decl.c (grokdeclarator): Duplicate diagnostic message
for easier translation.
* decl.c (grokdeclarator): Fix line-wrapping.
2006-10-30 Dirk Mueller <dmueller@suse.de>

View File

@ -8040,8 +8040,10 @@ grokdeclarator (const cp_declarator *declarator,
&& (current_class_type == NULL_TREE || staticp) )
{
error (staticp
? G_("qualified function types cannot be used to declare static member functions")
: G_("qualified function types cannot be used to declare free functions"));
? G_("qualified function types cannot be used to "
"declare static member functions")
: G_("qualified function types cannot be used to "
"declare free functions"));
type = TYPE_MAIN_VARIANT (type);
}