Skip to content

Commit b605db1

Browse files
committed
BACKWARD: Make line format compatible with compilers and editors
bombela/backward-cpp#325
1 parent 8d154cc commit b605db1

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

contrib/libs/backward/backward.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -4157,8 +4157,8 @@ class Printer {
41574157
void print_source_loc(std::ostream &os, const char *indent,
41584158
const ResolvedTrace::SourceLoc &source_loc,
41594159
void *addr = nullptr) {
4160-
os << indent << "Source \"" << source_loc.filename << "\", line "
4161-
<< source_loc.line << ", in " << source_loc.function;
4160+
os << indent << "Source \"" << source_loc.filename << ":" << source_loc.line
4161+
<< "\", in " << source_loc.function;
41624162

41634163
if (address && addr != nullptr) {
41644164
os << " [" << addr << "]";

0 commit comments

Comments
 (0)