This is the mail archive of the gcc-patches@gcc.gnu.org mailing list for the GCC project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: PATCH column number support


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


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]