X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=entity_t.h;h=c17afe2c2f67bf80da1cc832f3b22856af6b8ddb;hb=b63886b188eeedf36d8df12df3fe1f5fd90818d4;hp=c9e2294a5df48755b54f7748cc55d45f11c8abbf;hpb=02f47f268839c472e23095ac0025e5ccbb5ed70a;p=cparser diff --git a/entity_t.h b/entity_t.h index c9e2294..c17afe2 100644 --- a/entity_t.h +++ b/entity_t.h @@ -64,6 +64,7 @@ typedef enum storage_class_tag_t { typedef unsigned char storage_class_t; typedef enum decl_modifier_t { + DM_NONE = 0, DM_DLLIMPORT = 1 << 0, DM_DLLEXPORT = 1 << 1, DM_THREAD = 1 << 2, @@ -124,6 +125,7 @@ struct entity_base_t { struct compound_t { entity_base_t base; + entity_t *alias; /* used for name mangling of anonymous types */ scope_t members; decl_modifiers_t modifiers; bool complete : 1; @@ -136,6 +138,7 @@ struct compound_t { struct enum_t { entity_base_t base; + entity_t *alias; /* used for name mangling of anonymous types */ bool complete : 1; /* ast2firm info */