We are inside a comment, find the end marker.
(lines, lineix)
| 1373 | |
| 1374 | |
| 1375 | def FindNextMultiLineCommentEnd(lines, lineix): |
| 1376 | """We are inside a comment, find the end marker.""" |
| 1377 | while lineix < len(lines): |
| 1378 | if lines[lineix].strip().endswith('*/'): |
| 1379 | return lineix |
| 1380 | lineix += 1 |
| 1381 | return len(lines) |
| 1382 | |
| 1383 | |
| 1384 | def RemoveMultiLineCommentsFromRange(lines, begin, end): |
no outgoing calls
no test coverage detected
searching dependent graphs…