def ignore_comments(lines_enum):<EOL>
for line_number, line in lines_enum:<EOL><INDENT>line = COMMENT_RE.sub('<STR_LIT>', line)<EOL>line = line.strip()<EOL>if line:<EOL><INDENT>yield line_number, line<EOL><DEDENT><DEDENT>
Strips comments and filter empty lines.