version 1.171, 2015/04/02 21:36:50 |
version 1.172, 2015/04/02 22:48:17 |
|
|
|
|
#define DECL_ARGS struct termp *p, \ |
#define DECL_ARGS struct termp *p, \ |
struct mtermp *mt, \ |
struct mtermp *mt, \ |
struct man_node *n, \ |
struct roff_node *n, \ |
const struct man_meta *meta |
const struct man_meta *meta |
|
|
struct termact { |
struct termact { |
Line 63 static void print_man_node(DECL_ARGS); |
|
Line 63 static void print_man_node(DECL_ARGS); |
|
static void print_man_head(struct termp *, const void *); |
static void print_man_head(struct termp *, const void *); |
static void print_man_foot(struct termp *, const void *); |
static void print_man_foot(struct termp *, const void *); |
static void print_bvspace(struct termp *, |
static void print_bvspace(struct termp *, |
const struct man_node *, int); |
const struct roff_node *, int); |
|
|
static int pre_B(DECL_ARGS); |
static int pre_B(DECL_ARGS); |
static int pre_HP(DECL_ARGS); |
static int pre_HP(DECL_ARGS); |
Line 140 terminal_man(void *arg, const struct man *man) |
|
Line 140 terminal_man(void *arg, const struct man *man) |
|
{ |
{ |
struct termp *p; |
struct termp *p; |
const struct man_meta *meta; |
const struct man_meta *meta; |
struct man_node *n; |
struct roff_node *n; |
struct mtermp mt; |
struct mtermp mt; |
|
|
p = (struct termp *)arg; |
p = (struct termp *)arg; |
Line 191 terminal_man(void *arg, const struct man *man) |
|
Line 191 terminal_man(void *arg, const struct man *man) |
|
* first, print it. |
* first, print it. |
*/ |
*/ |
static void |
static void |
print_bvspace(struct termp *p, const struct man_node *n, int pardist) |
print_bvspace(struct termp *p, const struct roff_node *n, int pardist) |
{ |
{ |
int i; |
int i; |
|
|
|
|
pre_alternate(DECL_ARGS) |
pre_alternate(DECL_ARGS) |
{ |
{ |
enum termfont font[2]; |
enum termfont font[2]; |
struct man_node *nn; |
struct roff_node *nn; |
int savelit, i; |
int savelit, i; |
|
|
switch (n->tok) { |
switch (n->tok) { |
|
|
pre_HP(DECL_ARGS) |
pre_HP(DECL_ARGS) |
{ |
{ |
struct roffsu su; |
struct roffsu su; |
const struct man_node *nn; |
const struct roff_node *nn; |
int len; |
int len; |
|
|
switch (n->type) { |
switch (n->type) { |
|
|
pre_IP(DECL_ARGS) |
pre_IP(DECL_ARGS) |
{ |
{ |
struct roffsu su; |
struct roffsu su; |
const struct man_node *nn; |
const struct roff_node *nn; |
int len, savelit; |
int len, savelit; |
|
|
switch (n->type) { |
switch (n->type) { |
|
|
pre_TP(DECL_ARGS) |
pre_TP(DECL_ARGS) |
{ |
{ |
struct roffsu su; |
struct roffsu su; |
struct man_node *nn; |
struct roff_node *nn; |
int len, savelit; |
int len, savelit; |
|
|
switch (n->type) { |
switch (n->type) { |