diff options
author | David Malcolm <dmalcolm@redhat.com> | 2019-09-25 19:32:44 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2019-09-25 19:32:44 +0000 |
commit | 736a6efc4fd2159f0f6092d1767697ef16b51b3a (patch) | |
tree | 9c982d5d3ca7868104c59fbad0c96cbeb8e422df /gcc/tree-vectorizer.h | |
parent | b867051636ee21523b993484a0fa2fe915c25b21 (diff) | |
download | gcc-736a6efc4fd2159f0f6092d1767697ef16b51b3a.zip gcc-736a6efc4fd2159f0f6092d1767697ef16b51b3a.tar.gz gcc-736a6efc4fd2159f0f6092d1767697ef16b51b3a.tar.bz2 |
Colorize %L and %C text to match diagnostic_show_locus (PR fortran/91426)
gcc/fortran/ChangeLog:
PR fortran/91426
* error.c (curr_diagnostic): New static variable.
(gfc_report_diagnostic): New static function.
(gfc_warning): Replace call to diagnostic_report_diagnostic with
call to gfc_report_diagnostic.
(gfc_format_decoder): Colorize the text of %L and %C to match the
colorization used by diagnostic_show_locus.
(gfc_warning_now_at): Replace call to diagnostic_report_diagnostic with
call to gfc_report_diagnostic.
(gfc_warning_now): Likewise.
(gfc_warning_internal): Likewise.
(gfc_error_now): Likewise.
(gfc_fatal_error): Likewise.
(gfc_error_opt): Likewise.
(gfc_internal_error): Likewise.
From-SVN: r276132
Diffstat (limited to 'gcc/tree-vectorizer.h')
0 files changed, 0 insertions, 0 deletions