Re: [C PATCH] Add location to error_init (PR c/61096)

2014-05-09 Thread Jeff Law
On 05/09/14 01:27, Marek Polacek wrote: Another piece of puzzle. error_init didn't have a location parameter, so initialization errors had wrong column info. This patch adds location parameter to error_init and to a few of other functions. The testcases show what has better column info now. Not

Re: [C PATCH] Add location to error_init (PR c/61096)

2014-05-09 Thread Joseph S. Myers
On Fri, 9 May 2014, Marek Polacek wrote: > Another piece of puzzle. error_init didn't have a location parameter, > so initialization errors had wrong column info. This patch adds > location parameter to error_init and to a few of other functions. > The testcases show what has better column info

[C PATCH] Add location to error_init (PR c/61096)

2014-05-09 Thread Marek Polacek
Another piece of puzzle. error_init didn't have a location parameter, so initialization errors had wrong column info. This patch adds location parameter to error_init and to a few of other functions. The testcases show what has better column info now. Note what I wrote in http://gcc.gnu.org/bugzi