diff options
author | Dirk Mueller <dmueller@suse.de> | 2006-10-30 23:56:15 +0000 |
---|---|---|
committer | Dirk Mueller <mueller@gcc.gnu.org> | 2006-10-30 23:56:15 +0000 |
commit | f88d05c05fb3ae6631142428bbb9e06a1b7205fc (patch) | |
tree | 39b16316bca6c0b37c9d6ff39c325bdc09a14c66 /gcc | |
parent | 32b1d579ae7a6d0fd7a43d643bb3c1897286e7e7 (diff) | |
download | gcc-f88d05c05fb3ae6631142428bbb9e06a1b7205fc.zip gcc-f88d05c05fb3ae6631142428bbb9e06a1b7205fc.tar.gz gcc-f88d05c05fb3ae6631142428bbb9e06a1b7205fc.tar.bz2 |
* decl.c (grokdeclarator): Fix line-wrapping.
From-SVN: r118210
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/cp/ChangeLog | 1 | ||||
-rw-r--r-- | gcc/cp/decl.c | 6 |
2 files changed, 5 insertions, 2 deletions
diff --git a/gcc/cp/ChangeLog b/gcc/cp/ChangeLog index 7db62ec..75c2fd4 100644 --- a/gcc/cp/ChangeLog +++ b/gcc/cp/ChangeLog @@ -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> diff --git a/gcc/cp/decl.c b/gcc/cp/decl.c index 29e435a..66c34e4 100644 --- a/gcc/cp/decl.c +++ b/gcc/cp/decl.c @@ -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); } |