version 1.119, 2012/11/17 00:26:33 |
version 1.121, 2013/11/10 22:54:40 |
Line 40 const char *const __man_macronames[MAN_MAX] = { |
|
Line 40 const char *const __man_macronames[MAN_MAX] = { |
|
"RI", "na", "sp", "nf", |
"RI", "na", "sp", "nf", |
"fi", "RE", "RS", "DT", |
"fi", "RE", "RS", "DT", |
"UC", "PD", "AT", "in", |
"UC", "PD", "AT", "in", |
"ft", "OP", "EX", "EE" |
"ft", "OP", "EX", "EE", |
|
"UR", "UE" |
}; |
}; |
|
|
const char * const *man_macronames = __man_macronames; |
const char * const *man_macronames = __man_macronames; |
Line 428 man_ptext(struct man *man, int line, char *buf, int of |
|
Line 429 man_ptext(struct man *man, int line, char *buf, int of |
|
return(man_descope(man, line, offs)); |
return(man_descope(man, line, offs)); |
} |
} |
|
|
/* Pump blank lines directly into the backend. */ |
|
|
|
for (i = offs; ' ' == buf[i]; i++) |
for (i = offs; ' ' == buf[i]; i++) |
/* Skip leading whitespace. */ ; |
/* Skip leading whitespace. */ ; |
|
|
|
/* |
|
* Blank lines are ignored right after headings |
|
* but add a single vertical space elsewhere. |
|
*/ |
|
|
if ('\0' == buf[i]) { |
if ('\0' == buf[i]) { |
/* Allocate a blank entry. */ |
/* Allocate a blank entry. */ |
if ( ! man_elem_alloc(man, line, offs, MAN_sp)) |
if (MAN_SH != man->last->tok && |
return(0); |
MAN_SS != man->last->tok) { |
man->next = MAN_NEXT_SIBLING; |
if ( ! man_elem_alloc(man, line, offs, MAN_sp)) |
|
return(0); |
|
man->next = MAN_NEXT_SIBLING; |
|
} |
return(1); |
return(1); |
} |
} |
|
|