CTF: Support incremental metadata append
[babeltrace.git] / formats / ctf / metadata / ctf-visitor-semantic-validator.c
index 13b2fc55adeb9a9b8b2207fb83ea06328aaa108f..96776a95f3cf05794b085e4310a383b24e830905 100644 (file)
@@ -434,6 +434,9 @@ int _ctf_visitor_semantic_check(FILE *fd, int depth, struct ctf_node *node)
        int ret = 0;
        struct ctf_node *iter;
 
+       if (node->visited)
+               return 0;
+
        switch (node->type) {
        case NODE_ROOT:
                bt_list_for_each_entry(iter, &node->u.root.declaration_list, siblings) {
This page took 0.023086 seconds and 4 git commands to generate.