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 2/7] Generate virtual locations for tokens


On 09/27/2011 08:03 PM, Dodji Seketeli wrote:
Jason Merrill<jason@redhat.com> writes:

Yes, I was suggesting that you change that, since it's only used by
_get_location, which can get the location from the pointer instead.

Done.

And then you should be able to drop the track_macro_exp_p field from macro_arg_token_iter, and instead check whether location_ptr is set.


Jason


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