瀏覽代碼

Merge pull request #237 from acplt/HolgerJeromin-amalgamate_hint_per_file

add a hint which file is appended
Sten 10 年之前
父節點
當前提交
ff17db52b6
共有 1 個文件被更改,包括 1 次插入0 次删除
  1. 1 0
      tools/amalgamate.py

+ 1 - 0
tools/amalgamate.py

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