Re: [C++ Patch] Further grokdeclarator locations work

2019-06-12 Thread Jason Merrill
On 6/12/19 5:36 PM, Paolo Carlini wrote: Hi, On 12/06/19 22:24, Jason Merrill wrote: On 6/6/19 9:00 AM, Paolo Carlini wrote: Hi, only minor functional changes here - more precise locations for two error messages  - but I think it's a step in the right direction: it moves the declaration of

Re: [C++ Patch] Further grokdeclarator locations work

2019-06-12 Thread Paolo Carlini
Hi, On 12/06/19 22:24, Jason Merrill wrote: On 6/6/19 9:00 AM, Paolo Carlini wrote: Hi, only minor functional changes here - more precise locations for two error messages  - but I think it's a step in the right direction: it moves the declaration of id_loc way up, near typespec_loc and as su

Re: [C++ Patch] Further grokdeclarator locations work

2019-06-12 Thread Jason Merrill
On 6/6/19 9:00 AM, Paolo Carlini wrote: Hi, only minor functional changes here - more precise locations for two error messages  - but I think it's a step in the right direction: it moves the declaration of id_loc way up, near typespec_loc and as such id_loc is immediately used. Then its value

[C++ Patch] Further grokdeclarator locations work

2019-06-06 Thread Paolo Carlini
Hi, only minor functional changes here - more precise locations for two error messages  - but I think it's a step in the right direction: it moves the declaration of id_loc way up, near typespec_loc and as such id_loc is immediately used. Then its value is updated upon the loop over declarato