summaryrefslogtreecommitdiffstats
path: root/tree.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2014-09-28 11:32:33 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2014-09-28 11:32:33 +0000
commit7dc17b8921adee9171abb89dd4bf5a994182c0ae (patch)
tree0195d6d842f95a6b45fde3db34e0e009b475aec9 /tree.c
parentb4ad463b0c72a6199c558ac2e87077f7773d5f9d (diff)
downloadmandoc-7dc17b8921adee9171abb89dd4bf5a994182c0ae.tar.gz
Make eqn tree output a bit more useful.
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/tree.c b/tree.c
index 78051417..c1538afd 100644
--- a/tree.c
+++ b/tree.c
@@ -290,9 +290,9 @@ print_box(const struct eqn_box *ep, int indent)
}
assert(t);
- printf("%s(%d, %d, %d, %d, %d, \"%s\", \"%s\") %s\n",
+ printf("%s(size=%d, pos=%d, font=%d, mark=%d, pile=%d, l=\"%s\", r=\"%s\") %s\n",
t, EQN_DEFSIZE == ep->size ? 0 : ep->size,
- ep->pos + 1, ep->font, ep->mark, ep->pile,
+ ep->pos, ep->font, ep->mark, ep->pile,
ep->left ? ep->left : "",
ep->right ? ep->right : "",
ep->text ? ep->text : "");