From 7dc17b8921adee9171abb89dd4bf5a994182c0ae Mon Sep 17 00:00:00 2001 From: Kristaps Dzonsons Date: Sun, 28 Sep 2014 11:32:33 +0000 Subject: Make eqn tree output a bit more useful. --- tree.c | 4 ++-- 1 file 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 : ""); -- cgit