aboutsummaryrefslogtreecommitdiff
path: root/cc.h
diff options
context:
space:
mode:
Diffstat (limited to 'cc.h')
-rw-r--r--cc.h8
1 files changed, 7 insertions, 1 deletions
diff --git a/cc.h b/cc.h
index 511ad41..85b50b5 100644
--- a/cc.h
+++ b/cc.h
@@ -296,8 +296,14 @@ enum exprkind {
struct expr {
enum exprkind kind;
- _Bool lvalue, decayed;
+ /* whether this expression is an lvalue */
+ _Bool lvalue;
+ /* whether this expression is a pointer decayed from an array or function designator */
+ _Bool decayed;
+ /* the unqualified type of the expression */
struct type *type;
+ /* the type qualifiers of the object this expression refers to (ignored for non-lvalues) */
+ enum typequal qual;
struct expr *next;
union {
struct {