diff --git a/code/scripts/espurna_utils/release.py b/code/scripts/espurna_utils/release.py index deee4ef0..4c21a038 100644 --- a/code/scripts/espurna_utils/release.py +++ b/code/scripts/espurna_utils/release.py @@ -40,6 +40,7 @@ def merge_cpp(sources, output): tmp.write(b'#include "espurna.h"\n') for source in sources: with open(source, "rb") as fobj: + tmp.write('# 1 "{}"\n'.format(source.replace("\\", "/")).encode('utf-8')); shutil.copyfileobj(fobj, tmp) tmp.seek(0)