parameters: (filename)
return_statement: return [(m.group(2), m.group(3)) for m in re.finditer(re_lines, code)]
docstring: Filter the comments from a c/h file, and return the preprocessor lines.
  	The regexps :py:attr:`waflib.Tools.c_preproc.re_cpp`, :py:attr:`waflib.Tools.c_preproc.re_nl` and :py:attr:`waflib.Tools.c_preproc.re_lines` are used internally.
  
  	:return: the preprocessor directives as a list of (keyword, line)
  	:rtype: a list of string pairs
docstring_summary: Filter the comments from a c/h file, and return the preprocessor lines.
  	The regexps :py:attr:`waflib.Tools.c_preproc.re_cpp`, :py:attr:`waflib.Tools.c_preproc.re_nl` and :py:attr:`waflib.Tools.c_preproc.re_lines` are used internally.
docstring_tokens: Filter the comments from a c / h file and return the preprocessor lines . The regexps : py : attr : waflib . Tools . c_preproc . re_cpp : py : attr : waflib . Tools . c_preproc . re_nl and : py : attr : waflib . Tools . c_preproc . re_lines are used internally .
function: def filter_comments(filename):
  	"""
  	Filter the comments from a c/h file, and return the preprocessor lines.
  	The regexps :py:attr:`waflib.Tools.c_preproc.re_cpp`, :py:attr:`waflib.Tools.c_preproc.re_nl` and :py:attr:`waflib.Tools.c_preproc.re_lines` are used internally.
  
  	:return: the preprocessor directives as a list of (keyword, line)
  	:rtype: a list of string pairs
  	"""
  	# return a list of tuples : keyword, line
  	code = Utils.readf(filename)
  	if use_trigraphs:
  		for (a, b) in trig_def: code = code.split(a).join(b)
  	code = re_nl.sub('', code)
  	code = re_cpp.sub(repl, code)
  	return [(m.group(2), m.group(3)) for m in re.finditer(re_lines, code)]
function_tokens: def filter_comments ( filename ) : # return a list of tuples : keyword, line code = Utils . readf ( filename ) if use_trigraphs : for ( a , b ) in trig_def : code = code . split ( a ) . join ( b ) code = re_nl . sub ( '' , code ) code = re_cpp . sub ( repl , code ) return [ ( m . group ( 2 ) , m . group ( 3 ) ) for m in re . finditer ( re_lines , code ) ]