We are inside a comment, find the end marker.
(lines, lineix)
| 2066 | |
| 2067 | |
| 2068 | def FindNextMultiLineCommentEnd(lines, lineix): |
| 2069 | """We are inside a comment, find the end marker.""" |
| 2070 | while lineix < len(lines): |
| 2071 | if lines[lineix].strip().endswith("*/"): |
| 2072 | return lineix |
| 2073 | lineix += 1 |
| 2074 | return len(lines) |
| 2075 | |
| 2076 | |
| 2077 | def RemoveMultiLineCommentsFromRange(lines, begin, end): |
no outgoing calls
no test coverage detected
searching dependent graphs…