Find the beginning marker for a multiline comment.
(lines, lineix)
| 1843 | |
| 1844 | |
| 1845 | def FindNextMultiLineCommentStart(lines, lineix): |
| 1846 | """Find the beginning marker for a multiline comment.""" |
| 1847 | while lineix < len(lines): |
| 1848 | if lines[lineix].strip().startswith('/*'): |
| 1849 | # Only return this marker if the comment goes beyond this line |
| 1850 | if lines[lineix].strip().find('*/', 2) < 0: |
| 1851 | return lineix |
| 1852 | lineix += 1 |
| 1853 | return len(lines) |
| 1854 | |
| 1855 | |
| 1856 | def FindNextMultiLineCommentEnd(lines, lineix): |
no test coverage detected