Lines Matching refs:line
71 def include_key(line):
75 match = include_re.match(line)
76 assert match, line
100 def matcher(context, line):
101 m = rex.match(line)
109 actual include line."""
114 def matcher(context, line):
115 (keyword, fname, extra) = base_matcher(context, line)
135 def matcher(context, line):
140 (keyword, fname, extra) = base_matcher(context, line)
230 def match_line(line):
231 if not line:
232 return (None, line)
235 keyword, include, extra = matcher(context, line)
237 # if we've got a match, clean up the #include line,
248 return (None, line)
251 for line in lines:
252 include_type, line = match_line(line)
255 self.includes[include_type].append(line)
257 self.includes[include_type] = [ line ]
260 elif processing_includes and not line.strip():
267 # Output pending includes, a new line between, and the
272 yield line
274 # We are not in an include block, so just emit the line
275 yield line