Parse and then mostly ignore "signed" qualifier.

Just issue errors if both "signed" and "unsigned" are specified,
or if "signed" is applied to a non-int type.
This commit is contained in:
Matt Pharr
2011-11-29 21:41:04 -08:00
parent a3641d7691
commit 6b9b7437ed
10 changed files with 59 additions and 5 deletions

5
decl.h
View File

@@ -79,8 +79,9 @@ enum StorageClass {
#define TYPEQUAL_UNIFORM (1<<1)
#define TYPEQUAL_VARYING (1<<2)
#define TYPEQUAL_TASK (1<<3)
#define TYPEQUAL_UNSIGNED (1<<4)
#define TYPEQUAL_INLINE (1<<5)
#define TYPEQUAL_SIGNED (1<<4)
#define TYPEQUAL_UNSIGNED (1<<5)
#define TYPEQUAL_INLINE (1<<6)
/** @brief Representation of the declaration specifiers in a declaration.