** Read a sequence of (hex)digits */
| 462 | ** Read a sequence of (hex)digits |
| 463 | */ |
| 464 | static int readdigits (RN *rn, int hex) { |
| 465 | int count = 0; |
| 466 | while ((hex ? isxdigit(rn->c) : isdigit(rn->c)) && nextc(rn)) |
| 467 | count++; |
| 468 | return count; |
| 469 | } |
| 470 | |
| 471 | |
| 472 | /* |