Commit d29510ae authored by Olly Betts's avatar Olly Betts
Browse files

Show "aux" before "right" in syntax output

"aux" is only used by "setlimit L for C" and points to "C", whereas
"right" points to the next command.
parent 7c9d05b9
......@@ -49,8 +49,8 @@ static void print_node_(struct node * p, int n, const char * s) {
printf("\n");
if (p->AE) print_node_(p->AE, n+1, "# ");
if (p->left) print_node_(p->left, n+1, " ");
if (p->right) print_node_(p->right, n, " ");
if (p->aux) print_node_(p->aux, n+1, "@ ");
if (p->right) print_node_(p->right, n, " ");
}
extern void print_program(struct analyser * a) {
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment