From 0db205da784eac361dae373a646e25b200e64094 Mon Sep 17 00:00:00 2001 From: Sylvain Lefebvre Date: Sun, 8 Dec 2024 19:47:03 +0100 Subject: [PATCH] improvement: absolute path in included source console output --- src/LuaPreProcessor.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/LuaPreProcessor.cpp b/src/LuaPreProcessor.cpp index 7b4cb515..6ac902eb 100644 --- a/src/LuaPreProcessor.cpp +++ b/src/LuaPreProcessor.cpp @@ -881,7 +881,7 @@ std::string LuaPreProcessor::assembleSource( std::unordered_set alreadyIncluded, int& _output_line_count) { - cerr << "assembling source " << src_file << '.' << "\n"; + cerr << "assembling source " << std::filesystem::absolute(src_file) << '.' << "\n"; if (!LibSL::System::File::exists(src_file.c_str())) { throw Fatal("cannot find source file '%s'", src_file.c_str()); }