This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: [lambda] Latest experimental polymorphic lambda patches
- From: Ian Lance Taylor <iant at google dot com>
- To: Jason Merrill <jason at redhat dot com>
- Cc: Adam Butcher <adam at jessamine dot co dot uk>, gcc at gcc dot gnu dot org, jfreeman08 at gmail dot com, adam dot butcher at selex-comms dot com, kde at mosehansen dot dk
- Date: Fri, 11 Sep 2009 11:56:49 -0700
- Subject: Re: [lambda] Latest experimental polymorphic lambda patches
- References: <20987ae27cb6aa218b16d91d05eeb4a3.squirrel@webmail.plus.net> <4A817A92.4050204@redhat.com>
On Tue, Aug 11, 2009 at 7:05 AM, Jason Merrill <jason@redhat.com> wrote:
> A few comments:
>
>> /* XXX: Any way to get current location? */
>
> input_location
Just a late comment: using input_location is generally not a good
idea. Every token in the parser has a location. That should be the
source of all location information. Using input_location generally
gives you the wrong column and sometimes even gives you the wrong
line. We should eventually eliminate it.
Ian