error.c (gfc_diagnostic_build_locus_prefix): Use diagnostic_expand_location.
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Thu, 4 Dec 2014 23:59:35 +0000 (23:59 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Thu, 4 Dec 2014 23:59:35 +0000 (23:59 +0000)
commit99abe958d87a7cf653ea2ea9c467f7ebe0ba956d
tree5367afa1553141e677c4411189df8b007d01bd1c
parent1be71446897bf65257d37183f28355a3b5f9fe8e
error.c (gfc_diagnostic_build_locus_prefix): Use diagnostic_expand_location.

gcc/fortran/ChangeLog:

2014-12-05  Manuel López-Ibáñez  <manu@gcc.gnu.org>

* error.c (gfc_diagnostic_build_locus_prefix): Use
diagnostic_expand_location.

gcc/ChangeLog:

2014-12-05  Manuel López-Ibáñez  <manu@gcc.gnu.org>

* diagnostic.h (diagnostic_expand_location): New inline function.
* diagnostic.c (diagnostic_build_prefix): Use it.
(diagnostic_show_locus): Likewise.

From-SVN: r218409
gcc/ChangeLog
gcc/diagnostic.c
gcc/diagnostic.h
gcc/fortran/ChangeLog
gcc/fortran/error.c