+ switch (node->u.unary_expression.link) {
+ case UNARY_LINK_UNKNOWN:
+ break;
+ case UNARY_DOTLINK:
+ print_tabs(fd, depth);
+ fprintf(fd, "<dotlink/>\n");
+ break;
+ case UNARY_ARROWLINK:
+ print_tabs(fd, depth);
+ fprintf(fd, "<arrowlink/>\n");
+ break;
+ case UNARY_DOTDOTDOT:
+ print_tabs(fd, depth);
+ fprintf(fd, "<dotdotdot/>\n");
+ break;
+ default:
+ fprintf(stderr, "[error] %s: unknown expression link type %d\n", __func__,
+ (int) node->u.unary_expression.link);
+ return -EINVAL;
+ }
+