X-Git-Url: http://git.efficios.com/?a=blobdiff_plain;f=formats%2Fctf%2Fmetadata%2Fctf-ast.h;h=8a2888dafa28deee9f2a1c229b5a95f474f600d9;hb=e0c14875ccc7df4e6a13052f1af19a69b5bc7e16;hp=3d86f99c84cb7c7a5f7bf4e9895bddddfe4273dc;hpb=34f7b02c8e97da51ff316e802160d17d2a418d87;p=babeltrace.git diff --git a/formats/ctf/metadata/ctf-ast.h b/formats/ctf/metadata/ctf-ast.h index 3d86f99c..8a2888da 100644 --- a/formats/ctf/metadata/ctf-ast.h +++ b/formats/ctf/metadata/ctf-ast.h @@ -152,6 +152,7 @@ struct ctf_node { TYPESPEC_UNSIGNED, TYPESPEC_BOOL, TYPESPEC_COMPLEX, + TYPESPEC_IMAGINARY, TYPESPEC_CONST, TYPESPEC_ID_TYPE, } type; @@ -205,6 +206,7 @@ struct ctf_node { /* NULL, value or declaration specifier */ struct ctf_node *container_type; struct cds_list_head enumerator_list; + int has_body; } _enum; struct { struct cds_list_head declaration_specifier; @@ -215,11 +217,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; };