From c905c9f9f38d9879033d21dd5c79b3662e0e5a62 Mon Sep 17 00:00:00 2001 From: Christoph Stelz Date: Fri, 22 Dec 2023 11:33:40 +0100 Subject: [PATCH] Make line format compatible with compilers and editors --- backward.hpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/backward.hpp b/backward.hpp index 670aa45..d3cbc8c 100644 --- a/backward.hpp +++ b/backward.hpp @@ -4148,8 +4148,8 @@ class Printer { void print_source_loc(std::ostream &os, const char *indent, const ResolvedTrace::SourceLoc &source_loc, void *addr = nullptr) { - os << indent << "Source \"" << source_loc.filename << "\", line " - << source_loc.line << ", in " << source_loc.function; + os << indent << "Source \"" << source_loc.filename << ":" << source_loc.line + << "\", in " << source_loc.function; if (address && addr != nullptr) { os << " [" << addr << "]";