Find the beginning marker for a multiline comment.
(lines, lineix)
| 1362 | |
| 1363 | |
| 1364 | def FindNextMultiLineCommentStart(lines, lineix): |
| 1365 | """Find the beginning marker for a multiline comment.""" |
| 1366 | while lineix < len(lines): |
| 1367 | if lines[lineix].strip().startswith('/*'): |
| 1368 | # Only return this marker if the comment goes beyond this line |
| 1369 | if lines[lineix].strip().find('*/', 2) < 0: |
| 1370 | return lineix |
| 1371 | lineix += 1 |
| 1372 | return len(lines) |
| 1373 | |
| 1374 | |
| 1375 | def FindNextMultiLineCommentEnd(lines, lineix): |
no test coverage detected
searching dependent graphs…