On Mon, 10 Feb 2020 at 14:53, Jason Merrill wrote:
>
> On Mon, Feb 10, 2020 at 2:13 PM Christophe Lyon
> wrote:
>>
>> On Fri, 7 Feb 2020 at 14:54, Jason Merrill wrote:
>> >
>> > Here we were swallowing all the syntax errors by parsing tentatively, and
>> > returning error_mark_node without ever
On Mon, Feb 10, 2020 at 2:13 PM Christophe Lyon
wrote:
> On Fri, 7 Feb 2020 at 14:54, Jason Merrill wrote:
> >
> > Here we were swallowing all the syntax errors by parsing tentatively, and
> > returning error_mark_node without ever actually giving an error. Fixed
> by
> > using save_tokens/roll
On Fri, 7 Feb 2020 at 14:54, Jason Merrill wrote:
>
> Here we were swallowing all the syntax errors by parsing tentatively, and
> returning error_mark_node without ever actually giving an error. Fixed by
> using save_tokens/rollback_tokens instead.
>
> Tested x86_64-pc-linux-gnu, applying to trun
Here we were swallowing all the syntax errors by parsing tentatively, and
returning error_mark_node without ever actually giving an error. Fixed by
using save_tokens/rollback_tokens instead.
Tested x86_64-pc-linux-gnu, applying to trunk.
PR c++/92517
* parser.c (cp_parser_constra