This is the mail archive of the
gcc@gcc.gnu.org
mailing list for the GCC project.
Re: broken FE diagnostics wrt complex expressions
> Aldy> 1. beginning/ending locations functionality as Joseph suggests.
> Aldy> 2. make sure the parsers pick the proper token/location.
> Aldy> 3. error reporting machinery
>
> Aldy> How does this sound?
>
> It sounds good to me. #1 might be hard, I have not looked into it.
Well, we can always start with that which produces the most bang for the
buck, #2. I'd rather have a caret at the beginning of the error, than
no caret at all. Then we can expand to beginning and end.
> ISTR Manuel having a patch for caret diagnostic output... ?
Is this manu at gcc.gnu.org? If so, copying him.
Aldy