This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: [PATCH] Simplify quoting in diagnostics of C++ frontend
- From: Nathan Sidwell <nathan at acm dot org>
- To: Volker Reichelt <v dot reichelt at netcologne dot de>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 24 Apr 2017 11:28:25 -0400
- Subject: Re: [PATCH] Simplify quoting in diagnostics of C++ frontend
- Authentication-results: sourceware.org; auth=none
- References: <tkrat.cd968c4b7b6e3f75@netcologne.de>
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 an unquoted %E. Shouldn't that be replaced with %qE?
yes, please add that change too.
OK for trunk?
ok
--
Nathan Sidwell