bug-standards
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: error messages with ranges


From: Gabriel Dos Reis
Subject: Re: error messages with ranges
Date: Fri, 16 Oct 2009 11:51:52 -0500

On Fri, Oct 16, 2009 at 3:47 AM, Richard Stallman <address@hidden> 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?)



>
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]