We are inside a comment, find the end marker.
(lines, lineix)
| 2021 | |
| 2022 | |
| 2023 | def FindNextMultiLineCommentEnd(lines, lineix): |
| 2024 | """We are inside a comment, find the end marker.""" |
| 2025 | while lineix < len(lines): |
| 2026 | if lines[lineix].strip().endswith("*/"): |
| 2027 | return lineix |
| 2028 | lineix += 1 |
| 2029 | return len(lines) |
| 2030 | |
| 2031 | |
| 2032 | def RemoveMultiLineCommentsFromRange(lines, begin, end): |
no outgoing calls
no test coverage detected