| 198 | |
| 199 | |
| 200 | static int read_link(link_ctx *ctx) |
| 201 | { |
| 202 | if (skip_ws(ctx) && read_chr(ctx, '<')) { |
| 203 | size_t end; |
| 204 | if (find_chr(ctx, '>', &end)) { |
| 205 | ctx->link = mk_str(ctx, end); |
| 206 | ctx->i = end + 1; |
| 207 | return 1; |
| 208 | } |
| 209 | } |
| 210 | return 0; |
| 211 | } |
| 212 | |
| 213 | static int read_pname(link_ctx *ctx, const char **pname) |
| 214 | { |
no test coverage detected