Update typealias behavior
[babeltrace.git] / formats / ctf / metadata / ctf-ast.h
index 3d86f99c84cb7c7a5f7bf4e9895bddddfe4273dc..0ce21a5a4b2163e1adf952dd2b0039a10e523766 100644 (file)
@@ -152,6 +152,7 @@ struct ctf_node {
                                TYPESPEC_UNSIGNED,
                                TYPESPEC_BOOL,
                                TYPESPEC_COMPLEX,
+                               TYPESPEC_IMAGINARY,
                                TYPESPEC_CONST,
                                TYPESPEC_ID_TYPE,
                        } type;
@@ -215,11 +216,13 @@ struct ctf_node {
                        char *choice;
                        /* list of typedef, typealias and declarations */
                        struct cds_list_head declaration_list;
+                       int has_body;
                } variant;
                struct {
                        char *name;
                        /* list of typedef, typealias and declarations */
                        struct cds_list_head declaration_list;
+                       int has_body;
                } _struct;
        } u;
 };
This page took 0.023896 seconds and 4 git commands to generate.