This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Fix PR c++/35578: Misplaced error message for invalid use of 'friend'
- From: "Gabriel Dos Reis" <gdr at integrable-solutions dot net>
- To: "Volker Reichelt" <v dot reichelt at netcologne dot de>
- Cc: gcc-patches at gcc dot gnu dot org
- Date: Sun, 30 Mar 2008 09:37:15 -0500
- Subject: Re: [PATCH] Fix PR c++/35578: Misplaced error message for invalid use of 'friend'
- References: <tkrat.d1526ac24efbc8aa@netcologne.de>
On Sun, Mar 30, 2008 at 5:44 AM, Volker Reichelt
<v.reichelt@netcologne.de> wrote:
> The patch below fixes a diagnostic problem in the C++ parser.
> The error message for invalid usages of `friend' would sometimes
> be in the wrong line. Fixed by adding the location of the keyword
> to the error message.
>
> Bootstrapped and regtested on i686-pc-linux-gnu.
> Ok for mainline?
>
> Regards,
> Volker
>
OK.