summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
Diffstat (limited to 'types.h')
-rw-r--r--types.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/types.h b/types.h
index 18836bf..a6e49dc 100644
--- a/types.h
+++ b/types.h
@@ -709,11 +709,13 @@ enum {
EXPR_FOUND_TYPE = 0x01
};
+typedef U8 ExprFlags;
+
typedef struct Expression {
Type type;
Location where;
ExprKind kind : 8;
- U8 flags;
+ ExprFlags flags;
struct {
IdentID id; /* cgen ID used for this expression */
} cgen;