adapt to latest libfirm
[cparser] / attribute_t.h
index bb1076e..517b99b 100644 (file)
@@ -36,6 +36,7 @@ typedef enum attribute_kind_t {
        ATTRIBUTE_GNU_GCC_STRUCT,
        ATTRIBUTE_GNU_INTERRUPT,
        ATTRIBUTE_GNU_INTERRUPT_HANDLER,
+       ATTRIBUTE_GNU_LEAF,
        ATTRIBUTE_GNU_LONGCALL,
        ATTRIBUTE_GNU_LONG_CALL,
        ATTRIBUTE_GNU_MALLOC,
@@ -132,9 +133,9 @@ struct attribute_property_argument_t {
 };
 
 struct attribute_t {
-       source_position_t     source_position;
-       attribute_t          *next;
-       attribute_kind_t      kind;         /**< The kind of the GNU attribute. */
+       position_t        pos;
+       attribute_t      *next;
+       attribute_kind_t  kind;         /**< The kind of the GNU attribute. */
        union {
                attribute_argument_t          *arguments;
                attribute_property_argument_t *property;