Consistent format for secondary location in sourceformatter

This commit is contained in:
Alex Beregszaszi 2017-08-02 11:31:55 +01:00
parent 7553beb6a6
commit 934a5dbf53

View File

@ -110,9 +110,8 @@ void SourceReferenceFormatter::printExceptionInformation(
{ {
for (auto info: secondarylocation->infos) for (auto info: secondarylocation->infos)
{ {
_stream << info.first << " ";
printSourceName(_stream, &info.second, _scannerFromSourceName); printSourceName(_stream, &info.second, _scannerFromSourceName);
_stream << endl; _stream << info.first << endl;
printSourceLocation(_stream, &info.second, _scannerFromSourceName); printSourceLocation(_stream, &info.second, _scannerFromSourceName);
} }
_stream << endl; _stream << endl;