Jason Merrill <ja...@redhat.com> writes: > I was thinking that you could walk the macro expansions to see if the > two locations have an expansion in common, and if so compare the > indices. I guess you could do this only if the locations have the same > expansion location but are not themselves equal.
OK. I thought about this but wasn't sure if it would be enough. I'll try this then. > If comparing the expansion locations is enough for how this function > is used that's fine, but the name should be adjusted to be more > specific. OK, let's leave this as a fallback if the above proves to be not be enough, if you don't mind. Thanks. -- Dodji