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: error messages with ranges


On Fri, Oct 16, 2009 at 3:47 AM, Richard Stallman <rms@gnu.org> wrote:
> How about something like this:
>
> ? ?exprs.c:47:15: error: invalid operands to binary expression ('int *' and '_Complex float')
> ? ?::Argument locations: 47:8-47:14, 47:17-47:24
>
> If the brace notation you've proposed becomes a de facto standard,
> we may as well go along with it. ?But I think this proposal
> is better intrinsically, since it is less clutter and no harder to parse.

I like the non-braced version.

However, I would like you clarify the '::Argument locations:' marker.
Do you intend the double colons '::' as token to introduce
some form of meta data for tools? (In this case, it is to introduce
locus, but is it an escape for more general tags?)



>
>


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