Removed the flags and optimized the Attr structure.
git-svn-id: svn://svn.cc65.org/cc65/trunk@5596 b7a2c559-68d2-44c3-8de9-860c34a00d81
This commit is contained in:
@@ -49,19 +49,11 @@
|
||||
|
||||
|
||||
|
||||
/* Attribute flags */
|
||||
enum AttrFlags {
|
||||
afNone,
|
||||
afInt, /* Integer number */
|
||||
};
|
||||
typedef enum AttrFlags AttrFlags;
|
||||
|
||||
/* */
|
||||
/* Attribute structure */
|
||||
typedef struct Attr Attr;
|
||||
struct Attr {
|
||||
AttrFlags Flags; /* Attribute flags */
|
||||
char* Name; /* Attribute name */
|
||||
char Value[1]; /* Attribute value */
|
||||
char* Name; /* Attribute name - points into Value */
|
||||
char Value[1]; /* Attribute value followed by Name */
|
||||
};
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user