[PATCH diagnostics/Fortran] Implement Fortran prefix/caret style using the common diagnostics machinery

Dodji Seketeli dodji@redhat.com
Wed Aug 20 08:06:00 GMT 2014


Hello Manuel,

Manuel López-Ibáñez <lopezibanez@gmail.com> writes:

> Hi,
>
> This patch is relative to this one here:
> https://gcc.gnu.org/ml/gcc-patches/2014-08/msg01652.html
>
> It implements the Fortran style of prefix and caret line in the
> gfc_diagnostic_starter by using the common pretty-printer.
>
> This requires making configurable the caret character in the
> diagnostics machinery.

[...]


> 2014-08-19  Manuel López-Ibáñez  <manu@gcc.gnu.org>
>
>     PR fortran/44054
>     * diagnostic.c: Set default caret.
>     (diagnostic_show_locus): Use it. Tell pretty-printer that a new
>     line is needed.
>     * diagnostic.h (struct diagnostic_context):

> Bootstrapped and regression tested on x86_64-linux-gnu.
>
> OK?

The generic diagnostics part is OK.

Thanks!

Cheers.

-- 
		Dodji



More information about the Fortran mailing list