Lines Matching refs:line
4 for line in lines:
5 line = line.strip()
6 if line.startswith('# XXX'):
8 yield line
14 for line in lines:
15 if line.startswith(('####', '#----')):
16 kind = 0 if line[1] == '#' else 1
18 line = next(lines).strip()
20 line = ''
21 if not line.startswith('# '):
22 raise NotImplementedError(line)
23 yield kind, line[2:].lstrip()
27 while line.startswith('#'):
28 if line != '#' and line[1] == ' ':
29 maybe = line[2:].lstrip()
31 line = next(lines).strip()
34 if not line:
37 if line:
40 yield 'row', line
131 for line in cmd_count_by_section(infile):
132 print(line)