| 211 | } |
| 212 | |
| 213 | static int read_pname(link_ctx *ctx, const char **pname) |
| 214 | { |
| 215 | if (skip_ws(ctx)) { |
| 216 | size_t i; |
| 217 | for (i = ctx->i; i < ctx->slen && attr_char(ctx->s[i]); ++i) { |
| 218 | /* nop */ |
| 219 | } |
| 220 | if (i > ctx->i) { |
| 221 | *pname = mk_str(ctx, i); |
| 222 | ctx->i = i; |
| 223 | return 1; |
| 224 | } |
| 225 | } |
| 226 | return 0; |
| 227 | } |
| 228 | |
| 229 | static int read_pvalue(link_ctx *ctx, const char **pvalue) |
| 230 | { |
no test coverage detected