>> gcc/cp/ChangeLog:
>> 
>>      * parser.cc (cp_parser_lambda_declarator_opt): Clear
>>      processing_template_parmlist when parsing lambda parameters.
>
> Does it work to do this along with the other save/restore in 
> cp_parser_lambda_expression?

I regtested this and had no regressions. I can submit a v3 with this,
this is definitely better than leaving it in 
cp_parser_lambda_declarator_opt.

Reply via email to