Re: RFC: Provide diagnostic hints for missing inttypes.h string constants.

2020-05-22 Thread David Malcolm via Gcc-patches
On Fri, 2020-05-22 at 01:30 +0200, Mark Wielaard wrote: Hi Mark > This is on top of the stdbool.h and stdint.h patches. Sorry, I didn't see those patches; I've replied to them now. > This adds a flag to c_parser so we know when we were trying to > constract a string literal. If there is a parse

RFC: Provide diagnostic hints for missing inttypes.h string constants.

2020-05-21 Thread Mark Wielaard
This is on top of the stdbool.h and stdint.h patches. This adds a flag to c_parser so we know when we were trying to constract 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 is a standard he