version 1.181, 2011/03/22 10:13:01 |
version 1.183, 2011/04/04 21:14:12 |
Line 456 term_fontpop(struct termp *p) |
|
Line 456 term_fontpop(struct termp *p) |
|
void |
void |
term_word(struct termp *p, const char *word) |
term_word(struct termp *p, const char *word) |
{ |
{ |
const char *sv, *seq; |
const char *seq; |
size_t ssz; |
size_t ssz; |
enum roffdeco deco; |
enum roffdeco deco; |
|
|
sv = word; |
|
|
|
if (DELIM_CLOSE == mandoc_isdelim(word)) |
|
if ( ! (TERMP_IGNDELIM & p->flags)) |
|
p->flags |= TERMP_NOSPACE; |
|
|
|
if ( ! (TERMP_NOSPACE & p->flags)) { |
if ( ! (TERMP_NOSPACE & p->flags)) { |
if ( ! (TERMP_KEEP & p->flags)) { |
if ( ! (TERMP_KEEP & p->flags)) { |
if (TERMP_PREKEEP & p->flags) |
if (TERMP_PREKEEP & p->flags) |
Line 526 term_word(struct termp *p, const char *word) |
|
Line 520 term_word(struct termp *p, const char *word) |
|
if (DECO_NOSPACE == deco && '\0' == *word) |
if (DECO_NOSPACE == deco && '\0' == *word) |
p->flags |= TERMP_NOSPACE; |
p->flags |= TERMP_NOSPACE; |
} |
} |
|
|
if (DELIM_OPEN == mandoc_isdelim(sv)) |
|
p->flags |= TERMP_NOSPACE; |
|
} |
} |
|
|
|
|