diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-22 09:57:04 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-22 09:57:04 +0000 |
commit | 3e9d2580dc6eb151ec597b347b59c378eacedb55 (patch) | |
tree | f3ac5ef0194702826dfa0cadcec1474747d16ad7 /tree.c | |
parent | 85ad7222c5fd305322c7aa679840eedd807ef942 (diff) | |
download | mandoc-3e9d2580dc6eb151ec597b347b59c378eacedb55.tar.gz |
Give lists their own eqn function.
Diffstat (limited to 'tree.c')
-rw-r--r-- | tree.c | 9 |
1 files changed, 9 insertions, 0 deletions
@@ -276,6 +276,15 @@ print_box(const struct eqn_box *ep, int indent) ep->pos, ep->font, ep->mark); print_box(ep->first, indent + 1); break; + case (EQN_LIST): + printf("eqn-list(%d, %d, %d, %d, %d, %d, \"%s\", \"%s\")\n", + EQN_DEFSIZE == ep->size ? 0 : ep->size, + ep->pos, ep->font, ep->mark, + ep->pile, ep->above, + ep->left ? ep->left : "", + ep->right ? ep->right : ""); + print_box(ep->first, indent + 1); + break; case (EQN_SUBEXPR): printf("eqn-subxpr(%d, %d, %d, %d, %d, %d, \"%s\", \"%s\")\n", EQN_DEFSIZE == ep->size ? 0 : ep->size, |