Return to term.c CVS log | Up to [local] / src / usr.bin / mandoc |
version 1.42, 2010/06/29 14:41:28 | version 1.43, 2010/07/03 15:59:05 | ||
---|---|---|---|
|
|
||
#include "mandoc.h" | #include "mandoc.h" | ||
#include "chars.h" | #include "chars.h" | ||
#include "out.h" | #include "out.h" | ||
#include "regs.h" | |||
#include "term.h" | #include "term.h" | ||
#include "main.h" | #include "main.h" | ||
|
|
||
size_t sz; | size_t sz; | ||
rhs = chars_a2res(p->symtab, word, len, &sz); | rhs = chars_a2res(p->symtab, word, len, &sz); | ||
if (NULL == rhs) { | |||
rhs = roff_getstrn(word, len); | |||
if (rhs) | |||
sz = strlen(rhs); | |||
} | |||
if (rhs) | if (rhs) | ||
encode(p, rhs, sz); | encode(p, rhs, sz); | ||
} | } |