libcpp uses diagnostic->override_column to give a custom column number to
authormanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Dec 2014 23:16:21 +0000 (23:16 +0000)
committermanu <manu@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 2 Dec 2014 23:16:21 +0000 (23:16 +0000)
commit9ce648e26846583b5b4057e3ea00a53dcda10903
treed2feb1247880ddba0b22453e08c0e9d0acd9ba51
parent39876acc2fe01b4a3cd2d1988245d845315aff35
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.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@218295 138bc75d-0d04-0410-961f-82ee72b054a4
gcc/ChangeLog
gcc/diagnostic.c