Re: [committed] d: Fix ICE in when formating a string with '%' or '`' characters (PR98457)

2021-04-19 Thread ibuclaw--- via Gcc-patches
> On 19/04/2021 19:50 Iain Buclaw wrote: > > > Hi, > > This patch fixes an ICE that occurred in the D front-end diagnostic > handlers. The percentage character was being confused for a format > specifier in pp_format(), whilst the backtick character was confused for > the beginning of a

[committed] d: Fix ICE in when formating a string with '%' or '`' characters (PR98457)

2021-04-19 Thread Iain Buclaw via Gcc-patches
Hi, This patch fixes an ICE that occurred in the D front-end diagnostic handlers. The percentage character was being confused for a format specifier in pp_format(), whilst the backtick character was confused for the beginning of a quoted string in expand_d_format(). Both are now properly