aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/parse.h
diff options
Diffstat (limited to 'parse.h')
-rw-r--r--parse.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/parse.h b/parse.h
index 27421184..c8cf6b48 100644
--- a/parse.h
+++ b/parse.h
@@ -7,6 +7,7 @@ enum expression_type {
EXPR_DEREF,
EXPR_PREOP,
EXPR_POSTOP,
+ EXPR_CAST,
};
struct expression {
@@ -21,6 +22,10 @@ struct expression {
struct expression *deref;
struct token *member;
};
+ struct cast_arg {
+ struct expression *cast_type;
+ struct expression *cast_expression;
+ };
};
};