Sfoglia il codice sorgente

Merge pull request #237 from acplt/HolgerJeromin-amalgamate_hint_per_file

add a hint which file is appended
Sten 10 anni fa
parent
commit
ff17db52b6
1 ha cambiato i file con 1 aggiunte e 0 eliminazioni
  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)