Re: [PATCH 1/2] Provide diagnostic hints for missing C inttypes.h string constants.

2020-06-03 Thread Joseph Myers
On Mon, 1 Jun 2020, Mark Wielaard wrote: > On Sun, May 24, 2020 at 02:30:13AM +0200, Mark Wielaard wrote: > > This adds a flag to c_parser so we know when we were trying to > > construct a string literal. If there is a parse error and we were > > constructing a string literal, and the next token i

Re: [PATCH 1/2] Provide diagnostic hints for missing C inttypes.h string constants.

2020-06-01 Thread Mark Wielaard
On Sun, May 24, 2020 at 02:30:13AM +0200, Mark Wielaard wrote: > This adds a flag to c_parser so we know when we were trying to > construct a string literal. If there is a parse error and we were > constructing a string literal, and the next token is an unknown > identifier name, and we know there