version 1.81, 2009/06/22 12:04:05 |
version 1.83, 2009/06/22 13:13:10 |
Line 200 term_isopendelim(const char *p, int len) |
|
Line 200 term_isopendelim(const char *p, int len) |
|
* Otherwise, the line will break at the right margin. Extremely long |
* Otherwise, the line will break at the right margin. Extremely long |
* lines will cause the system to emit a warning (TODO: hyphenate, if |
* lines will cause the system to emit a warning (TODO: hyphenate, if |
* possible). |
* possible). |
|
* |
|
* FIXME: newline breaks occur (in groff) also occur when a single |
|
* space follows a NOBREAK! |
*/ |
*/ |
void |
void |
term_flushln(struct termp *p) |
term_flushln(struct termp *p) |
Line 410 term_nescape(struct termp *p, const char *word, size_t |
|
Line 413 term_nescape(struct termp *p, const char *word, size_t |
|
size_t sz; |
size_t sz; |
int i; |
int i; |
|
|
if ((rhs = term_a2ascii(p->symtab, word, len, &sz))) |
rhs = term_a2ascii(p->symtab, word, len, &sz); |
|
if (rhs) |
for (i = 0; i < (int)sz; i++) |
for (i = 0; i < (int)sz; i++) |
term_encodea(p, rhs[i]); |
term_encodea(p, rhs[i]); |
} |
} |