Re: [PATCH] c++: Fix pasto in structured binding diagnostics [PR94571]

2020-04-15 Thread Jason Merrill via Gcc-patches
On 4/15/20 4:12 AM, Jakub Jelinek wrote: Hi! This snippet has been copied from the non-structured binding declaration parsing later in the function, and while for non-structured bindings it can be followed by comma or semicolon, structured bindings may be only followed by semicolon. Fixed thusl

[PATCH] c++: Fix pasto in structured binding diagnostics [PR94571]

2020-04-15 Thread Jakub Jelinek via Gcc-patches
Hi! This snippet has been copied from the non-structured binding declaration parsing later in the function, and while for non-structured bindings it can be followed by comma or semicolon, structured bindings may be only followed by semicolon. Fixed thusly, bootstrapped/regtested on x86_64-linux a