Find the beginning marker for a multiline comment.
(lines, lineix)
| 1854 | |
| 1855 | |
| 1856 | def FindNextMultiLineCommentStart(lines, lineix): |
| 1857 | """Find the beginning marker for a multiline comment.""" |
| 1858 | while lineix < len(lines): |
| 1859 | if lines[lineix].strip().startswith('/*'): |
| 1860 | # Only return this marker if the comment goes beyond this line |
| 1861 | if lines[lineix].strip().find('*/', 2) < 0: |
| 1862 | return lineix |
| 1863 | lineix += 1 |
| 1864 | return len(lines) |
| 1865 | |
| 1866 | |
| 1867 | def FindNextMultiLineCommentEnd(lines, lineix): |
no outgoing calls
no test coverage detected