#!/bin/python3 headers_dir = 'include/ss/' headers = ['type_traits.hpp', 'function_traits.hpp', 'restrictions.hpp', 'common.hpp', 'setup.hpp', 'splitter.hpp', 'extract.hpp', 'converter.hpp', 'parser.hpp'] combined_file = [] includes = [] for header in headers: with open(headers_dir + header) as f: for line in f.read().splitlines(): if '#include "' in line or '#include