Fix column location in c_lex_with_flags errors
authorManuel López-Ibáñez <manu@gcc.gnu.org>
Sat, 22 Aug 2015 12:44:51 +0000 (12:44 +0000)
committerManuel López-Ibáñez <manu@gcc.gnu.org>
Sat, 22 Aug 2015 12:44:51 +0000 (12:44 +0000)
commit584a7c462b32f779ea389198aaedf882199bf794
tree7104e87e5951946b0658465d43cc82de97a9436a
parented9fa8d2a37d72d00e76f63968fad2f2819a3219
Fix column location in c_lex_with_flags errors

gcc/testsuite/ChangeLog:

2015-08-22  Manuel López-Ibáñez  <manu@gcc.gnu.org>

* gcc.dg/cpp/multiline-2.c: Add column numbers.
* gcc.dg/dollar.c: Likewise.
* gcc.dg/pragma-message.c: Likewise.
* g++.dg/cpp1y/digit-sep-neg.C: Likewise.
* c-c++-common/raw-string-14.c: Likewise.

gcc/c-family/ChangeLog:

2015-08-22  Manuel López-Ibáñez  <manu@gcc.gnu.org>

* c-lex.c (c_lex_with_flags): Use explicit locations.

From-SVN: r227096
gcc/c-family/ChangeLog
gcc/c-family/c-lex.c
gcc/testsuite/ChangeLog
gcc/testsuite/c-c++-common/raw-string-14.c
gcc/testsuite/g++.dg/cpp1y/digit-sep-neg.C
gcc/testsuite/gcc.dg/cpp/multiline-2.c
gcc/testsuite/gcc.dg/dollar.c
gcc/testsuite/gcc.dg/pragma-message.c