We are inside a comment, find the end marker.
(lines, lineix)
| 1850 | |
| 1851 | |
| 1852 | def FindNextMultiLineCommentEnd(lines, lineix): |
| 1853 | """We are inside a comment, find the end marker.""" |
| 1854 | while lineix < len(lines): |
| 1855 | if lines[lineix].strip().endswith('*/'): |
| 1856 | return lineix |
| 1857 | lineix += 1 |
| 1858 | return len(lines) |
| 1859 | |
| 1860 | |
| 1861 | def RemoveMultiLineCommentsFromRange(lines, begin, end): |
no outgoing calls
no test coverage detected