On 05/07/2013 06:24 AM, Paolo Carlini wrote:
I'm not sure if it would be more correct to explicitly cp_parser_abort_tentative_parse before returning
Well, there needs to be something to match the cp_parser_parse_tentatively before this function returns. But in this case the code is indeed an enum-specifier, so I think it would be better to parse it as one rather than than return early.
Jason