diff options
author | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-10-09 15:32:23 +0000 |
---|---|---|
committer | Ingo Schwarze <schwarze@cvs.openbsd.org> | 2014-10-09 15:32:23 +0000 |
commit | 654ace3280a47dc8589bf0a0fdf885ce52829c25 (patch) | |
tree | 4a70bb95a2438e4e8153d13f8d0a364f5e2a06c8 /usr.bin | |
parent | a6350ffc4df7591ae5b3aa44a9d9933ceab23414 (diff) |
more readable eqn(7) -Ttree output; from kristaps@
Diffstat (limited to 'usr.bin')
-rw-r--r-- | usr.bin/mandoc/tree.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/usr.bin/mandoc/tree.c b/usr.bin/mandoc/tree.c index 0c20a779082..66c48a5884a 100644 --- a/usr.bin/mandoc/tree.c +++ b/usr.bin/mandoc/tree.c @@ -1,4 +1,4 @@ -/* $Id: tree.c,v 1.22 2014/07/02 07:10:17 schwarze Exp $ */ +/* $Id: tree.c,v 1.23 2014/10/09 15:32:22 schwarze Exp $ */ /* * Copyright (c) 2008, 2009, 2011 Kristaps Dzonsons <kristaps@bsd.lv> * Copyright (c) 2013, 2014 Ingo Schwarze <schwarze@openbsd.org> @@ -286,9 +286,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 : ""); |