diff options
| author | hachem <im@hachem.wtf> | 2026-09-19 15:47:03 +0200 |
|---|---|---|
| committer | hachem <im@hachem.wtf> | 2026-09-19 15:47:03 +0200 |
| commit | 6d8b0392bb0c0df82285eec1b0f692113e66eb1a (patch) | |
| tree | c08fde36b934b759b1255bac33dc69ae1adf7169 /ast.h | |
| parent | e5cc80fb6a608aa1fbd0d6fabd1cf614a0fc004a (diff) | |
feat: enable_if
Diffstat (limited to 'ast.h')
| -rw-r--r-- | ast.h | 3 |
1 files changed, 3 insertions, 0 deletions
@@ -33,6 +33,7 @@ enum NodeKind COND_LESS, STMT_DECLARE, STMT_UNDECLARE, + STMT_ENABLE_IF, STMT_EMIT, STMT_STATIC_ASSERT }; @@ -52,6 +53,7 @@ struct Node struct Node* first; struct Node* second; struct Node* third; + struct Node* body; struct Node* next; }; @@ -65,6 +67,7 @@ struct Node* node_binary(enum NodeKind kind, struct Node* first, struct Node* se struct Node* node_ternary(enum NodeKind kind, struct Node* first, struct Node* second, struct Node* third); struct Node* node_named(enum NodeKind kind, const struct Name* name, struct Node* first); +struct Node* node_block(enum NodeKind kind, struct Node* first, struct Node* body); struct Node* node_append(struct Node* list, struct Node* node); void node_free(struct Node* node); |
