about summary refs log tree commit diff
path: root/boot/tree.c
diff options
context:
space:
mode:
Diffstat (limited to 'boot/tree.c')
-rw-r--r--boot/tree.c14
1 files changed, 14 insertions, 0 deletions
diff --git a/boot/tree.c b/boot/tree.c
index dc22bfd..3c808f8 100644
--- a/boot/tree.c
+++ b/boot/tree.c
@@ -688,6 +688,8 @@ enum Expression_Kind
     EXPRESSION_SUBSCRIPT,
     EXPRESSION_MEMBER,
     EXPRESSION_INCREMENT_DECREMENT,
+    EXPRESSION_TRY,
+    EXPRESSION_MUST,
 
     EXPRESSION_FUNCTION,
     EXPRESSION_TYPE,
@@ -766,6 +768,16 @@ struct Expression_Increment_Decrement
     enum Increment_Decrement_Operation operation;
 };
 
+struct Expression_Try
+{
+    struct Expression* expression;
+};
+
+struct Expression_Must
+{
+    struct Expression* expression;
+};
+
 struct Expression_Function
 {
     struct Function_Header_Node header;
@@ -791,6 +803,8 @@ union Expression_Value
     struct Expression_Subscript subscript;
     struct Expression_Member member;
     struct Expression_Increment_Decrement increment_decrement;
+    struct Expression_Try try;
+    struct Expression_Must must;
     struct Expression_Function function;
     struct Expression_Type type;
 };