This is the mail archive of the
gcc-patches@gcc.gnu.org
mailing list for the GCC project.
Re: Adjust locations for RECORD_TYPEs
On Mon, Nov 30, 2009 at 1:11 PM, Taras Glek <tglek@mozilla.com> wrote:
> On 11/26/2009 06:55 AM, Jason Merrill wrote:
>>
>> It would be better to use type_start_token->location in
>> cp_parser_class_head rather than store input_location.
>
> You are right. This changes behavior such that anonymous RECORD_TYPE
> location points at { or class name when that is available.
Ok, thay is better.
-- Gaby