summaryrefslogtreecommitdiffstats
path: root/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'tree.c')
-rw-r--r--tree.c11
1 files changed, 7 insertions, 4 deletions
diff --git a/tree.c b/tree.c
index c1d7937e..96ca7eb3 100644
--- a/tree.c
+++ b/tree.c
@@ -274,13 +274,16 @@ print_box(const struct eqn_box *ep, int indent)
printf("eqn-root(%d, %d, %d, %d)\n",
EQN_DEFSIZE == ep->size ? 0 : ep->size,
ep->pos, ep->font, ep->mark);
- print_box(ep->child, indent + 1);
+ print_box(ep->first, indent + 1);
break;
case (EQN_SUBEXPR):
- printf("eqn-subxpr(%d, %d, %d, %d)\n",
+ printf("eqn-subxpr(%d, %d, %d, %d, %d, %d, \"%s\", \"%s\")\n",
EQN_DEFSIZE == ep->size ? 0 : ep->size,
- ep->pos, ep->font, ep->mark);
- print_box(ep->child, indent + 1);
+ ep->pos, ep->font, ep->mark,
+ ep->pile, ep->above,
+ ep->left ? ep->left : "",
+ ep->right ? ep->right : "");
+ print_box(ep->first, indent + 1);
break;
case (EQN_TEXT):
printf("eqn-text(%d, %d, %d, %d): [%s]\n",