This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: [PATCH] Fix PR c++/35578: Misplaced error message for invalid use of 'friend'


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.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]