Find the beginning marker for a multiline comment.
(lines, lineix)
| 1125 | |
| 1126 | |
| 1127 | def FindNextMultiLineCommentStart(lines, lineix): |
| 1128 | """Find the beginning marker for a multiline comment.""" |
| 1129 | while lineix < len(lines): |
| 1130 | if lines[lineix].strip().startswith('/*'): |
| 1131 | # Only return this marker if the comment goes beyond this line |
| 1132 | if lines[lineix].strip().find('*/', 2) < 0: |
| 1133 | return lineix |
| 1134 | lineix += 1 |
| 1135 | return len(lines) |
| 1136 | |
| 1137 | |
| 1138 | def FindNextMultiLineCommentEnd(lines, lineix): |
no outgoing calls
no test coverage detected