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
| Name |
Last commit
|
Last update |
|---|---|---|
| .. | ||
| aka1.C | Loading commit data... | |
| bad-binary-ops.C | Loading commit data... | |
| bindings1.C | Loading commit data... | |
| bitfld1.C | Loading commit data... | |
| bitfld2.C | Loading commit data... | |
| disable.C | Loading commit data... | |
| expr1.C | Loading commit data... | |
| inhibit-warn-1.C | Loading commit data... | |
| inhibit-warn-2.C | Loading commit data... | |
| method1.C | Loading commit data... | |
| parm1.C | Loading commit data... | |
| pr13981.C | Loading commit data... | |
| pr58979.C | Loading commit data... | |
| pr59838.C | Loading commit data... | |
| pr60862.C | Loading commit data... | |
| pr61004.C | Loading commit data... | |
| pr70105.C | Loading commit data... | |
| pr71075.C | Loading commit data... | |
| ref1.C | Loading commit data... | |
| ref2.C | Loading commit data... | |
| string-literal-concat.C | Loading commit data... | |
| variadic1.C | Loading commit data... | |
| wrong-tag-1.C | Loading commit data... |