summaryrefslogtreecommitdiff
path: root/ast.h
diff options
context:
space:
mode:
authorCarson Fleming <cflems@cflems.net>2026-07-18 13:18:45 -0700
committerCarson Fleming <cflems@cflems.net>2026-07-18 13:18:45 -0700
commit385419f95c6b9c35a7c2a6168f82f7aa4a44e22b (patch)
tree981d2e69f6e6d1c558253db6cef4083e98467bc1 /ast.h
parentb43aebd9d3c2e072ee2acc50d4381dcb0f01ec98 (diff)
downloadccc-385419f95c6b9c35a7c2a6168f82f7aa4a44e22b.tar.gz
fix scoping big
Diffstat (limited to 'ast.h')
-rw-r--r--ast.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/ast.h b/ast.h
index 918ae68..6ff95df 100644
--- a/ast.h
+++ b/ast.h
@@ -136,6 +136,7 @@ struct if_node {
struct expr_node* cond;
struct stmt_node* true_branch;
struct stmt_node* false_branch;
+ struct scope* scope;
};
struct stmt_node {