Clears a range of lines for multi-line comments.
(lines, begin, end)
| 2030 | |
| 2031 | |
| 2032 | def RemoveMultiLineCommentsFromRange(lines, begin, end): |
| 2033 | """Clears a range of lines for multi-line comments.""" |
| 2034 | # Having // <empty> comments makes the lines non-empty, so we will not get |
| 2035 | # unnecessary blank line warnings later in the code. |
| 2036 | for i in range(begin, end): |
| 2037 | lines[i] = "/**/" |
| 2038 | |
| 2039 | |
| 2040 | def RemoveMultiLineComments(filename, lines, error): |
no outgoing calls
no test coverage detected