Re: [C++ Patch] PR 52987

2015-07-22 Thread Jason Merrill
OK. Jason

[C++ Patch] PR 52987

2015-07-22 Thread Paolo Carlini
Hi, this bug is purely about error recovery. A while ago I fixed the first half, but for, eg: int foo(x a) { } we still emit the pointless: 52987_2.C:1:14: error: expected ‘,’ or ‘;’ before ‘{’ token In fact, we *already* have code helping error recovery in cp_parser_simple_declaration: