Re: [C++ PATCH] Fix-it info for duplicate tokens

2017-04-24 Thread David Malcolm
On Fri, 2017-04-21 at 18:01 +0200, Volker Reichelt wrote: > Hi, > > the following patch adds fix-it info to error messages in 4 places > where the C++ parser complains about duplicate tokens. > The fix-it infos suggest to remove the duplicates. > > Bootstrapped and regtested on x86_64-pc-linux-gn

Re: [C++ PATCH] Fix-it info for duplicate tokens

2017-04-24 Thread Nathan Sidwell
On 04/21/2017 12:01 PM, Volker Reichelt wrote: Hi, the following patch adds fix-it info to error messages in 4 places where the C++ parser complains about duplicate tokens. The fix-it infos suggest to remove the duplicates. Bootstrapped and regtested on x86_64-pc-linux-gnu. OK for trunk? ok

[C++ PATCH] Fix-it info for duplicate tokens

2017-04-21 Thread Volker Reichelt
Hi, the following patch adds fix-it info to error messages in 4 places where the C++ parser complains about duplicate tokens. The fix-it infos suggest to remove the duplicates. Bootstrapped and regtested on x86_64-pc-linux-gnu. OK for trunk? Regards, Volker 2017-04-21 Volker Reichelt