| 867 | |
| 868 | |
| 869 | static int read_link(link_ctx *ctx) |
| 870 | { |
| 871 | ctx->link_start = ctx->link_end = 0; |
| 872 | if (skip_ws(ctx) && read_chr(ctx, '<')) { |
| 873 | int end; |
| 874 | if (find_chr(ctx, '>', &end)) { |
| 875 | ctx->link_start = ctx->i; |
| 876 | ctx->link_end = end; |
| 877 | ctx->i = end + 1; |
| 878 | return 1; |
| 879 | } |
| 880 | } |
| 881 | return 0; |
| 882 | } |
| 883 | |
| 884 | static int skip_pname(link_ctx *ctx) |
| 885 | { |
no test coverage detected