X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=type_t.h;h=de76857b09c8803bc5bd91c996da528d68207339;hb=4b6bbffc7e1d9a9ee5a75da79ced92f5bc92a913;hp=efc97b650a2c755a51150cda9238ab4c2608f523;hpb=087130404a59dcdd95aa0d7ac7feec2793e9ce87;p=cparser diff --git a/type_t.h b/type_t.h index efc97b6..de76857 100644 --- a/type_t.h +++ b/type_t.h @@ -27,8 +27,10 @@ typedef enum { TYPE_TYPEOF } type_type_t; +/* note that the constant values represent the rank of the types as defined + * in § 6.3.1 */ typedef enum { - ATOMIC_TYPE_INVALID, + ATOMIC_TYPE_INVALID = 0, ATOMIC_TYPE_VOID, ATOMIC_TYPE_CHAR, ATOMIC_TYPE_SCHAR,