This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: PATCH column number support
- From: "Zack Weinberg" <zack at codesourcery dot com>
- To: Per Bothner <per at bothner dot com>
- Cc: Richard Henderson <rth at redhat dot com>, gcc-patches at gcc dot gnu dot org
- Date: Mon, 01 Dec 2003 23:06:36 -0800
- Subject: Re: PATCH column number support
- References: <3FC99C18.8010904@bothner.com> <20031202060906.GB31561@redhat.com><3FCC3922.8030100@bothner.com>
Per Bothner <per@bothner.com> writes:
>> or whatever the most common operations actually are. And the
>> first thing that these routines do is look at the "current"
>> line_map to to do the right thing.
>
> In the current code it is cpplib that maintains the "upper bound"
> of allocated source_locations. This is the pfile->line. It should
> be possible to move this field into the struct line_maps. It might
> even be a good idea. I'd have to see if I can come up with a clean
> design.
Yeah, this should happen. It really isn't cpplib's business (anymore).
zw