diff options
author | David Malcolm <dmalcolm@redhat.com> | 2016-06-20 16:37:28 +0000 |
---|---|---|
committer | David Malcolm <dmalcolm@gcc.gnu.org> | 2016-06-20 16:37:28 +0000 |
commit | 842107e43de51855cd5870be1a67bc4eabca4a25 (patch) | |
tree | 5df2315bb993f48933d4efe20cb3866896e28adf /gcc/fortran/trans-expr.c | |
parent | 9ee6540a77ee11d1aa70d86e08642406fb150fe0 (diff) | |
download | gcc-842107e43de51855cd5870be1a67bc4eabca4a25.zip gcc-842107e43de51855cd5870be1a67bc4eabca4a25.tar.gz gcc-842107e43de51855cd5870be1a67bc4eabca4a25.tar.bz2 |
C++ FE: Show both locations in string literal concatenation error
gcc/cp/ChangeLog:
* parser.c (cp_parser_string_literal): Convert non-standard
concatenation error to directly use a rich_location, and
use that to add the location of the first literal to the
diagnostic.
gcc/testsuite/ChangeLog:
* g++.dg/diagnostic/string-literal-concat.C: New test case.
From-SVN: r237608
Diffstat (limited to 'gcc/fortran/trans-expr.c')
0 files changed, 0 insertions, 0 deletions