Remove nested expressions
[babeltrace.git] / formats / ctf / metadata / ctf-ast.h
index 3fb38b2d6295c4eca0f0500374c68e7f17bd307d..4f4b8aba8938d5f103fb3be50dc24a53952e0355 100644 (file)
@@ -35,6 +35,7 @@ struct ctf_parser;
 #define FOREACH_CTF_NODES(F) \
        F(NODE_UNKNOWN) \
        F(NODE_ROOT) \
+       F(NODE_ERROR) \
        F(NODE_EVENT) \
        F(NODE_STREAM) \
        F(NODE_ENV) \
@@ -147,7 +148,6 @@ struct ctf_node {
                                UNARY_SIGNED_CONSTANT,
                                UNARY_UNSIGNED_CONSTANT,
                                UNARY_SBRAC,
-                               UNARY_NESTED,
                        } type;
                        union {
                                /*
@@ -158,7 +158,6 @@ struct ctf_node {
                                int64_t signed_constant;
                                uint64_t unsigned_constant;
                                struct ctf_node *sbrac_exp;
-                               struct ctf_node *nested_exp;
                        } u;
                        enum {
                                UNARY_LINK_UNKNOWN = 0,
This page took 0.022671 seconds and 4 git commands to generate.