Lines Matching refs:line
62 `params` string) and the line number of the declaration.
87 :return: a tuple of a list (of the first line(s) of the doctest) and the
88 line number of the start of the code block.
90 return ['#line %d "%s"\n' % (fileinput.filelineno() + 1, self._infile)], fileinput.filelineno()
122 for line in fileinput.input(infile):
123 decl_match = re.match(r'^\[doctest\]:\s+#\s+\((.*)\)\s*$', line)
124 nl_match = re.match(r'^\s*$', line)
125 start_match = re.match(r'^```c\s*$', line)
126 end_match = re.match(r'^```\s*', line)
147 code.append(line)