The offset of the first "*" + "/" in s[from..to), or `to`. */
| 129 | |
| 130 | /* The offset of the first "*" + "/" in s[from..to), or `to`. */ |
| 131 | static size_t ti_comment_close(const char *s, size_t from, size_t to) { |
| 132 | for (size_t i = from; i + 1 < to; i++) { |
| 133 | if (s[i] == '*' && s[i + 1] == '/') { |
| 134 | return i; |
| 135 | } |
| 136 | } |
| 137 | return to; |
| 138 | } |
| 139 | |
| 140 | /* A line that is nothing but comment: blank; `//`; a block opened here with |
| 141 | * nothing after its first close; a block-comment line (`*` then whitespace or |
no outgoing calls
no test coverage detected