Re: [C++ PATCH] Fix invalid structured binding range for parsing error recovery (PR c++/85194)

2018-04-09 Thread Jason Merrill
OK. On Wed, Apr 4, 2018 at 3:48 PM, Jakub Jelinek wrote: > Hi! > > The maybe_range_for_decl argument is documented on > cp_parser_simple_declaration as: >If MAYBE_RANGE_FOR_DECL is not NULL, the pointed tree will be set to the >parsed declaration if it is an uninitialized single declarato

[C++ PATCH] Fix invalid structured binding range for parsing error recovery (PR c++/85194)

2018-04-04 Thread Jakub Jelinek
Hi! The maybe_range_for_decl argument is documented on cp_parser_simple_declaration as: If MAYBE_RANGE_FOR_DECL is not NULL, the pointed tree will be set to the parsed declaration if it is an uninitialized single declarator not followed by a `;', or to error_mark_node otherwise. Either wa