Fix calculation of the value of multi-character character constants in signed char...
[cparser] / entity_t.h
index d894ef7..03cfd7a 100644 (file)
@@ -89,7 +89,8 @@ typedef enum decl_modifier_t {
        DM_FASTCALL          = 1 << 22,
        DM_STDCALL           = 1 << 23,
        DM_THISCALL          = 1 << 24,
-       DM_DEPRECATED        = 1 << 25
+       DM_DEPRECATED        = 1 << 25,
+       DM_RETURNS_TWICE     = 1 << 26,
 } decl_modifier_t;
 
 typedef unsigned decl_modifiers_t;
@@ -191,6 +192,7 @@ struct declaration_t {
 
 struct compound_member_t {
        declaration_t  base;
+       unsigned char  alignment;
        bool           read          : 1;
        bool           address_taken : 1;  /**< Set if the address of this declaration was taken. */
 
@@ -204,7 +206,7 @@ struct variable_t {
        bool           thread_local  : 1;  /**< GCC __thread */
        bool           address_taken : 1;  /**< Set if the address of this declaration was taken. */
        bool           read          : 1;
-       unsigned char  alignment;          /**< Alignment of the declaration, 0 for default. */
+       unsigned char  alignment;
        symbol_t      *get_property_sym;   /**< MS get property. */
        symbol_t      *put_property_sym;   /**< MS put property. */