- functions = read_spec(files.spec, files.prefix)
- functions = [f for f in functions if f.name not in files.ignore_funcs and f.category not in files.ignore_categs]
- for f in functions:
- f.finalize()
-
- template.process(functions)
+ for s in files.specs:
+ funcs = read_spec(s, files.prefix)
+ funcs = [f for f in funcs if f.name not in files.ignore_funcs and f.category not in files.ignore_categs]
+ for f in funcs:
+ f.finalize()
+ names = [f.name for f in funcs]
+ functions = [f for f in functions if f.name not in names]+funcs
+
+template.process(functions)