]> git.ipfire.org Git - thirdparty/gcc.git/commit
re PR c++/53289 (unnecessary repetition of caret diagnostics)
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Wed, 9 May 2012 21:14:15 +0000 (21:14 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Wed, 9 May 2012 21:14:15 +0000 (21:14 +0000)
commit1b8b126f386ffff12b02f7c9cb2a00c38996f1ea
tree4b18ba8c78c4acdb7b3108123cdc3146cde30ec1
parentd21a7b447a2bdf5fe11f70827327c46472ee081a
re PR c++/53289 (unnecessary repetition of caret diagnostics)

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

PR c++/53289
gcc/
* diagnostic.h (diagnostic_context): Add last_location.
* diagnostic.c (diagnostic_initialize): Initialize it.
(diagnostic_show_locus): Use it.

From-SVN: r187355
gcc/ChangeLog
gcc/diagnostic.c
gcc/diagnostic.h