Clears a range of lines for multi-line comments.
(lines, begin, end)
| 1145 | |
| 1146 | |
| 1147 | def RemoveMultiLineCommentsFromRange(lines, begin, end): |
| 1148 | """Clears a range of lines for multi-line comments.""" |
| 1149 | # Having // dummy comments makes the lines non-empty, so we will not get |
| 1150 | # unnecessary blank line warnings later in the code. |
| 1151 | for i in range(begin, end): |
| 1152 | lines[i] = '// dummy' |
| 1153 | |
| 1154 | |
| 1155 | def RemoveMultiLineComments(filename, lines, error): |
no outgoing calls
no test coverage detected