diff options
author | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-21 14:13:00 +0000 |
---|---|---|
committer | Kristaps Dzonsons <kristaps@bsd.lv> | 2011-07-21 14:13:00 +0000 |
commit | faba8b69bbb1a57a9980aa454612ab8cca95e93a (patch) | |
tree | 33fe5371dd53025f8af04366049bd8871ac78fbf /tree.c | |
parent | 62a9685b8f83f61948148be5fd01ec614799aeea (diff) | |
download | mandoc-faba8b69bbb1a57a9980aa454612ab8cca95e93a.tar.gz |
Full support for eqn positionals (above, over, sup, sub, etc.).
Diffstat (limited to 'tree.c')
-rw-r--r-- | tree.c | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -270,18 +270,18 @@ print_box(const struct eqn_box *ep, int indent) switch (ep->type) { case (EQN_ROOT): - printf("eqn-root(%d, %d)\n", - ep->font, ep->mark); + printf("eqn-root(%d, %d, %d)\n", + ep->pos, ep->font, ep->mark); print_box(ep->child, indent + 1); break; case (EQN_SUBEXPR): - printf("eqn-subxpr(%d, %d)\n", - ep->font, ep->mark); + printf("eqn-subxpr(%d, %d, %d)\n", + ep->pos, ep->font, ep->mark); print_box(ep->child, indent + 1); break; case (EQN_TEXT): - printf("eqn-text(%d, %d): [%s]\n", - ep->font, ep->mark, ep->text); + printf("eqn-text(%d, %d, %d): [%s]\n", + ep->pos, ep->font, ep->mark, ep->text); break; default: break; |