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