Explorar el Código

add a hint which file is appended

Holger Jeromin hace 10 años
padre
commit
1c22bc1277
Se han modificado 1 ficheros con 1 adiciones y 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)