Re: [PATCH] Simplify quoting in diagnostics of C++ frontend

2017-04-24 Thread Nathan Sidwell
On 04/23/2017 02:53 PM, Volker Reichelt wrote: Hi, the following patch simplifies quoting in diagnostics by using %qD instead of %<%D%> etc. Bootstrapped and regtested on x86_64-pc-linux-gnu. Btw, line 14563 in pt.c error ("enumerator value %E is outside the range of underlying " contains a

[PATCH] Simplify quoting in diagnostics of C++ frontend

2017-04-23 Thread Volker Reichelt
Hi, the following patch simplifies quoting in diagnostics by using %qD instead of %<%D%> etc. Bootstrapped and regtested on x86_64-pc-linux-gnu. Btw, line 14563 in pt.c error ("enumerator value %E is outside the range of underlying " contains an unquoted %E. Shouldn't that be replaced with %qE