Find the beginning marker for a multiline comment.
(lines, lineix)
| 1336 | |
| 1337 | |
| 1338 | def FindNextMultiLineCommentStart(lines, lineix): |
| 1339 | """Find the beginning marker for a multiline comment.""" |
| 1340 | while lineix < len(lines): |
| 1341 | if lines[lineix].strip().startswith('/*'): |
| 1342 | # Only return this marker if the comment goes beyond this line |
| 1343 | if lines[lineix].strip().find('*/', 2) < 0: |
| 1344 | return lineix |
| 1345 | lineix += 1 |
| 1346 | return len(lines) |
| 1347 | |
| 1348 | |
| 1349 | def FindNextMultiLineCommentEnd(lines, lineix): |
no outgoing calls
no test coverage detected