9 inc_re = re.compile ('^#include "([^"]+)"')
14 for l in open (fn).readlines():
18 lst.append ((lc, m.group (1)))
20 base = os.path.split (fn)[1]
25 def has_include (f, name):
27 return name in [b for (a,b) in incs[f]]
34 print '-*-compilation-*-'
35 for (f, lst) in incs.items ():
37 for (n2, inc2) in lst:
38 if has_include (inc2, inc):
39 print "%s:%d: already have %s from %s" % (full_paths[f], n,