summaryrefslogtreecommitdiffstats
path: root/tree.c
diff options
context:
space:
mode:
authorKristaps Dzonsons <kristaps@bsd.lv>2011-07-21 14:13:00 +0000
committerKristaps Dzonsons <kristaps@bsd.lv>2011-07-21 14:13:00 +0000
commitfaba8b69bbb1a57a9980aa454612ab8cca95e93a (patch)
tree33fe5371dd53025f8af04366049bd8871ac78fbf /tree.c
parent62a9685b8f83f61948148be5fd01ec614799aeea (diff)
downloadmandoc-faba8b69bbb1a57a9980aa454612ab8cca95e93a.tar.gz
Full support for eqn positionals (above, over, sup, sub, etc.).
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/tree.c b/tree.c
index 722e396c..22f91a10 100644
--- a/tree.c
+++ b/tree.c
@@ -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;