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