summaryrefslogtreecommitdiff
path: root/types.h
diff options
context:
space:
mode:
authorLeo Tenenbaum <pommicket@gmail.com>2019-10-04 23:02:42 -0400
committerLeo Tenenbaum <pommicket@gmail.com>2019-10-04 23:02:42 -0400
commit2977dbc96fdb948e2543aad758a12bc31c450557 (patch)
treec6c61a174568a208101f37d08d0d041514f83ffb /types.h
parent51360274858bef53009bf1dd6619d7407277f642 (diff)
improved declarations (multiple types in one decl)
Diffstat (limited to 'types.h')
-rw-r--r--types.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/types.h b/types.h
index 25e4bc1..30b898a 100644
--- a/types.h
+++ b/types.h
@@ -276,6 +276,7 @@ typedef enum {
EXPR_NEW,
EXPR_CALL,
EXPR_BLOCK,
+ EXPR_TUPLE,
EXPR_DIRECT
} ExprKind;
@@ -293,7 +294,6 @@ typedef enum {
BINARY_SUB,
BINARY_MUL,
BINARY_DIV,
- BINARY_COMMA,
BINARY_GT,
BINARY_LT,
BINARY_GE,
@@ -376,6 +376,7 @@ typedef struct Expression {
FnExpr fn;
CastExpr cast;
Block block;
+ struct Expression *tuple;
};
} Expression;