Clears a range of lines for multi-line comments.
(lines, begin, end)
| 1859 | |
| 1860 | |
| 1861 | def RemoveMultiLineCommentsFromRange(lines, begin, end): |
| 1862 | """Clears a range of lines for multi-line comments.""" |
| 1863 | # Having // <empty> comments makes the lines non-empty, so we will not get |
| 1864 | # unnecessary blank line warnings later in the code. |
| 1865 | for i in range(begin, end): |
| 1866 | lines[i] = '/**/' |
| 1867 | |
| 1868 | |
| 1869 | def RemoveMultiLineComments(filename, lines, error): |
no outgoing calls
no test coverage detected