projects
/
cparser
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
support for pointer add/sub, no need for type_environment in ast2firm
[cparser]
/
type_t.h
diff --git
a/type_t.h
b/type_t.h
index
efc97b6
..
de76857
100644
(file)
--- 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,