Re: [C++ Patch] Improve grok_array_decl location

2019-08-13 Thread Jason Merrill
On 8/13/19 5:22 AM, Paolo Carlini wrote: Hi, for this error message about the types involved in array subscripting I think we can exploit the available location argument and point to the open square bracket instead of simply using input_location. Tested x86_64-linux. Thanks, Paolo Carlini.

[C++ Patch] Improve grok_array_decl location

2019-08-13 Thread Paolo Carlini
Hi, for this error message about the types involved in array subscripting I think we can exploit the available location argument and point to the open square bracket instead of simply using input_location. Tested x86_64-linux. Thanks, Paolo Carlini. /cp 2019-08-13