The reference of an inline tag body: up to `|`, white space or `}`. */
| 272 | |
| 273 | /* The reference of an inline tag body: up to `|`, white space or `}`. */ |
| 274 | static size_t ts_ref_len(const char *p, size_t n) { |
| 275 | size_t k = 0; |
| 276 | while (k < n && p[k] != '|' && p[k] != '}' && !isspace((unsigned char)p[k])) { |
| 277 | k++; |
| 278 | } |
| 279 | return k; |
| 280 | } |
| 281 | |
| 282 | /* {@link ...} and {@linkcode ...} of one line; true when the line holds one. */ |
| 283 | static bool ts_line_inline(const ts_emit_t *em, const ts_line_t *ln, const bool *mask) { |