We are inside a comment, find the end marker.
(lines, lineix)
| 1378 | |
| 1379 | |
| 1380 | def FindNextMultiLineCommentEnd(lines, lineix): |
| 1381 | """We are inside a comment, find the end marker.""" |
| 1382 | while lineix < len(lines): |
| 1383 | if lines[lineix].strip().endswith('*/'): |
| 1384 | return lineix |
| 1385 | lineix += 1 |
| 1386 | return len(lines) |
| 1387 | |
| 1388 | |
| 1389 | def RemoveMultiLineCommentsFromRange(lines, begin, end): |
no outgoing calls
no test coverage detected