def _parse_macros(macros): for row, srcfile in _parse_table(macros, '\t', 'glob\tname\tvalue', rawsep='=', default=None): yield row
def _parse_incldirs(incldirs): for row, srcfile in _parse_table(incldirs, '\t', 'glob\tdirname', default=None): glob, dirname = row if dirname is None: # Match all files. dirname = glob row = ('*', dirname.strip()) yield row