소스 검색

add a hint which file is appended

Holger Jeromin 10 년 전
부모
커밋
1c22bc1277
1개의 변경된 파일1개의 추가작업 그리고 0개의 파일을 삭제
  1. 1 0
      tools/amalgamate.py

+ 1 - 0
tools/amalgamate.py

@@ -75,6 +75,7 @@ else:
 for fname in args.inputs:
     if not "util.h" in fname:
         with open(fname) as infile:
+            file.write("/*********************************** amalgamated original file \"" + infile + "\" ***********************************/\n")
             for line in infile:
                 inc_res = include_re.match(line)
                 guard_res = guard_re.match(line)