[lambda] Latest experimental polymorphic lambda patches
Ian Lance Taylor
iant@google.com
Fri Sep 11 18:57:00 GMT 2009
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
More information about the Gcc
mailing list