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