** Read a sequence of (hex)digits */
| 427 | ** Read a sequence of (hex)digits |
| 428 | */ |
| 429 | static int readdigits (RN *rn, int hex) { |
| 430 | int count = 0; |
| 431 | while ((hex ? isxdigit(rn->c) : isdigit(rn->c)) && nextc(rn)) |
| 432 | count++; |
| 433 | return count; |
| 434 | } |
| 435 | |
| 436 | |
| 437 | /* |
no test coverage detected