Return to term.c CVS log | Up to [cvsweb.bsd.lv] / mandoc |
version 1.185, 2011/04/29 22:18:12 | version 1.186, 2011/04/30 22:24:31 | ||
---|---|---|---|
|
|
||
static void | static void | ||
numbered(struct termp *p, const char *word, size_t len) | numbered(struct termp *p, const char *word, size_t len) | ||
{ | { | ||
const char *rhs; | char c; | ||
rhs = mchars_num2char(word, len); | if ('\0' != (c = mchars_num2char(word, len))) | ||
if (rhs) | encode(p, &c, 1); | ||
encode(p, rhs, 1); | |||
} | } | ||