version 1.74, 2017/04/24 23:06:18 |
version 1.77, 2017/07/08 14:51:05 |
Line 202 print_mdoc(const struct roff_node *n, int indent) |
|
Line 202 print_mdoc(const struct roff_node *n, int indent) |
|
} |
} |
|
|
if (n->eqn) |
if (n->eqn) |
print_box(n->eqn->root->first, indent + 4); |
print_box(n->eqn->first, indent + 4); |
if (n->child) |
if (n->child) |
print_mdoc(n->child, indent + |
print_mdoc(n->child, indent + |
(n->type == ROFFT_BLOCK ? 2 : 4)); |
(n->type == ROFFT_BLOCK ? 2 : 4)); |
Line 287 print_man(const struct roff_node *n, int indent) |
|
Line 287 print_man(const struct roff_node *n, int indent) |
|
} |
} |
|
|
if (n->eqn) |
if (n->eqn) |
print_box(n->eqn->root->first, indent + 4); |
print_box(n->eqn->first, indent + 4); |
if (n->child) |
if (n->child) |
print_man(n->child, indent + |
print_man(n->child, indent + |
(n->type == ROFFT_BLOCK ? 2 : 4)); |
(n->type == ROFFT_BLOCK ? 2 : 4)); |
Line 313 print_box(const struct eqn_box *ep, int indent) |
|
Line 313 print_box(const struct eqn_box *ep, int indent) |
|
|
|
t = NULL; |
t = NULL; |
switch (ep->type) { |
switch (ep->type) { |
case EQN_ROOT: |
|
t = "eqn-root"; |
|
break; |
|
case EQN_LISTONE: |
|
case EQN_LIST: |
case EQN_LIST: |
t = "eqn-list"; |
t = "eqn-list"; |
break; |
break; |