On 11/20/19 9:16 AM, Jakub Jelinek wrote:
On Tue, Nov 19, 2019 at 11:35:02PM -0500, Jason Merrill wrote:It would seem better to break after consuming the token, so we just skip the extra processing and still give the same error.And instead of this, maybe set CP_PARSER_FLAGS_NO_TYPE_DEFINITIONS so we keep the same diagnostic for other type-specifiers?That seems to work well. So like this if it passes bootstrap/regtest?
OK. Jason