diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-21 13:37:04 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-21 13:37:04 +0000 |
commit | 62a9685b8f83f61948148be5fd01ec614799aeea (patch) | |
tree | 5ebaad6490d0723db30fe56c7b089b009a72e490 /tree.c | |
parent | d98b3838b2d49efc6220b1dc7bdb995e37cd4d10 (diff) | |
download | mandoc-62a9685b8f83f61948148be5fd01ec614799aeea.tar.gz |
Add eqn subexpression fonts.
Diffstat (limited to 'tree.c')
-rw-r--r-- | tree.c | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -270,15 +270,18 @@ print_box(const struct eqn_box *ep, int indent) switch (ep->type) { case (EQN_ROOT): - printf("eqn-root(%d)\n", ep->mark); + printf("eqn-root(%d, %d)\n", + ep->font, ep->mark); print_box(ep->child, indent + 1); break; case (EQN_SUBEXPR): - printf("eqn-subxpr(%d)\n", ep->mark); + printf("eqn-subxpr(%d, %d)\n", + ep->font, ep->mark); print_box(ep->child, indent + 1); break; case (EQN_TEXT): - printf("eqn-text(%d): [%s]\n", ep->mark, ep->text); + printf("eqn-text(%d, %d): [%s]\n", + ep->font, ep->mark, ep->text); break; default: break; |