Find the beginning marker for a multiline comment.
(lines, lineix)
| 924 | |
| 925 | |
| 926 | def FindNextMultiLineCommentStart(lines, lineix): |
| 927 | """Find the beginning marker for a multiline comment.""" |
| 928 | while lineix < len(lines): |
| 929 | if lines[lineix].strip().startswith('/*'): |
| 930 | # Only return this marker if the comment goes beyond this line |
| 931 | if lines[lineix].strip().find('*/', 2) < 0: |
| 932 | return lineix |
| 933 | lineix += 1 |
| 934 | return len(lines) |
| 935 | |
| 936 | |
| 937 | def FindNextMultiLineCommentEnd(lines, lineix): |
no test coverage detected