minor XML visitor layout fix
authorMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 22 Feb 2011 22:51:39 +0000 (17:51 -0500)
committerMathieu Desnoyers <mathieu.desnoyers@efficios.com>
Tue, 22 Feb 2011 22:51:39 +0000 (17:51 -0500)
Signed-off-by: Mathieu Desnoyers <mathieu.desnoyers@efficios.com>
formats/ctf/metadata/ctf-visitor-xml.c

index 54b5feb84d552e0e70cfb4fa11e2884723a64a86..d768b7a3f5746ab0bdd9d2f65b986170a75a9a65 100644 (file)
@@ -85,23 +85,23 @@ int ctf_visitor_print_unary_expression(FILE *fd, int depth, struct ctf_node *nod
                break;
        case UNARY_SBRAC:
                print_tabs(fd, depth);
-               fprintf(fd, "<unary_expression_sbrac>");
+               fprintf(fd, "<unary_expression_sbrac>\n");
                ret = ctf_visitor_print_unary_expression(fd, depth + 1,
                        node->u.unary_expression.u.sbrac_exp);
                if (ret)
                        return ret;
                print_tabs(fd, depth);
-               fprintf(fd, "</unary_expression_sbrac>");
+               fprintf(fd, "</unary_expression_sbrac>\n");
                break;
        case UNARY_NESTED:
                print_tabs(fd, depth);
-               fprintf(fd, "<unary_expression_nested>");
+               fprintf(fd, "<unary_expression_nested>\n");
                ret = ctf_visitor_print_unary_expression(fd, depth + 1,
                        node->u.unary_expression.u.nested_exp);
                if (ret)
                        return ret;
                print_tabs(fd, depth);
-               fprintf(fd, "</unary_expression_nested>");
+               fprintf(fd, "</unary_expression_nested>\n");
                break;
 
        case UNARY_UNKNOWN:
This page took 0.024596 seconds and 4 git commands to generate.