From 6d8b0392bb0c0df82285eec1b0f692113e66eb1a Mon Sep 17 00:00:00 2001 From: hachem Date: Sat, 19 Sep 2026 15:47:03 +0200 Subject: feat: enable_if --- ast.h | 3 +++ 1 file changed, 3 insertions(+) (limited to 'ast.h') diff --git a/ast.h b/ast.h index aaa5f7a..4a5db15 100644 --- a/ast.h +++ b/ast.h @@ -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); -- cgit v1.3