version 1.64, 2010/05/17 02:38:13 |
version 1.65, 2010/05/17 22:11:42 |
|
|
#include <string.h> |
#include <string.h> |
#include <unistd.h> |
#include <unistd.h> |
|
|
|
#include "mandoc.h" |
#include "out.h" |
#include "out.h" |
#include "html.h" |
#include "html.h" |
#include "mdoc.h" |
#include "mdoc.h" |
Line 729 mdoc_nm_pre(MDOC_ARGS) |
|
Line 730 mdoc_nm_pre(MDOC_ARGS) |
|
{ |
{ |
struct htmlpair tag; |
struct htmlpair tag; |
|
|
|
if (NULL == n->child && NULL == m->name) |
|
return(1); |
|
|
if (SEC_SYNOPSIS == n->sec && |
if (SEC_SYNOPSIS == n->sec && |
n->prev && MDOC_LINE & n->flags) { |
n->prev && MDOC_LINE & n->flags) { |
bufcat_style(h, "clear", "both"); |
bufcat_style(h, "clear", "both"); |
Line 1181 mdoc_ex_pre(MDOC_ARGS) |
|
Line 1185 mdoc_ex_pre(MDOC_ARGS) |
|
h->flags &= ~HTML_NOSPACE; |
h->flags &= ~HTML_NOSPACE; |
} |
} |
|
|
if (n->child->next) |
if (n->child && n->child->next) |
print_text(h, "utilities exit"); |
print_text(h, "utilities exit"); |
else |
else |
print_text(h, "utility exits"); |
print_text(h, "utility exits"); |
Line 1951 mdoc_rv_pre(MDOC_ARGS) |
|
Line 1955 mdoc_rv_pre(MDOC_ARGS) |
|
print_text(h, "()"); |
print_text(h, "()"); |
} |
} |
|
|
if (n->child->next) |
if (n->child && n->child->next) |
print_text(h, "functions return"); |
print_text(h, "functions return"); |
else |
else |
print_text(h, "function returns"); |
print_text(h, "function returns"); |