Explorar o código

add a hint which file is appended

Holger Jeromin %!s(int64=10) %!d(string=hai) anos
pai
achega
1c22bc1277
Modificáronse 1 ficheiros con 1 adicións e 0 borrados
  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)