summaryrefslogtreecommitdiffstats
path: root/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c9
1 files changed, 6 insertions, 3 deletions
diff --git a/tree.c b/tree.c
index 82bb0a06..722e396c 100644
--- a/tree.c
+++ b/tree.c
@@ -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;