version 1.63, 2015/04/02 21:36:51 |
version 1.66, 2015/04/18 17:53:21 |
|
|
#include "main.h" |
#include "main.h" |
|
|
static void print_box(const struct eqn_box *, int); |
static void print_box(const struct eqn_box *, int); |
static void print_man(const struct man_node *, int); |
static void print_man(const struct roff_node *, int); |
static void print_mdoc(const struct mdoc_node *, int); |
static void print_mdoc(const struct roff_node *, int); |
static void print_span(const struct tbl_span *, int); |
static void print_span(const struct tbl_span *, int); |
|
|
|
|
void |
void |
tree_mdoc(void *arg, const struct mdoc *mdoc) |
tree_mdoc(void *arg, const struct roff_man *mdoc) |
{ |
{ |
|
|
print_mdoc(mdoc_node(mdoc)->child, 0); |
print_mdoc(mdoc->first->child, 0); |
} |
} |
|
|
void |
void |
tree_man(void *arg, const struct man *man) |
tree_man(void *arg, const struct roff_man *man) |
{ |
{ |
|
|
print_man(man_node(man)->child, 0); |
print_man(man->first->child, 0); |
} |
} |
|
|
static void |
static void |
print_mdoc(const struct mdoc_node *n, int indent) |
print_mdoc(const struct roff_node *n, int indent) |
{ |
{ |
const char *p, *t; |
const char *p, *t; |
int i, j; |
int i, j; |
Line 176 print_mdoc(const struct mdoc_node *n, int indent) |
|
Line 176 print_mdoc(const struct mdoc_node *n, int indent) |
|
} |
} |
|
|
static void |
static void |
print_man(const struct man_node *n, int indent) |
print_man(const struct roff_node *n, int indent) |
{ |
{ |
const char *p, *t; |
const char *p, *t; |
int i; |
int i; |