libcpp uses diagnostic->override_column to give a custom column number to diagnostics.
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Tue, 2 Dec 2014 23:16:21 +0000 (23:16 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Tue, 2 Dec 2014 23:16:21 +0000 (23:16 +0000)
commit7f9283bf66259579b2da5fd407b078147e9ed798
treed2feb1247880ddba0b22453e08c0e9d0acd9ba51
parentf5d5b88fe59d8689344cc64b33e7e7c2b7a7ba70
libcpp uses diagnostic->override_column to give a custom column number to diagnostics.

libcpp uses diagnostic->override_column to give a custom column number to
diagnostics. This is taken into account when building the prefix, but it was
missing when placing the caret.

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

* diagnostic.c (diagnostic_show_locus): Honor override_column when
placing the caret.

From-SVN: r218295
gcc/ChangeLog
gcc/diagnostic.c