summaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorQuinn Stephens <quinn@osmora.org>2025-06-09 22:02:58 -0400
committerQuinn Stephens <quinn@osmora.org>2025-06-09 22:02:58 -0400
commit13923af3ab57dbd826ce6f36b38228eea595590f (patch)
tree200afacf2c9c6bc8612c8bf5b4037c1bc4f11adf /include
parentc7c2e0dc65b0ea01d297de21983acbd1019df025 (diff)
parser: Parse uninitialized variable declarations
Signed-off-by: Quinn Stephens <quinn@osmora.org>
Diffstat (limited to 'include')
-rw-r--r--include/parser/ast.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/include/parser/ast.h b/include/parser/ast.h
index 3449764..d4baf92 100644
--- a/include/parser/ast.h
+++ b/include/parser/ast.h
@@ -37,7 +37,8 @@
enum ast_node_kind {
NOK_UNKNOWN,
- NOK_FUNCTION
+ NOK_FUNCTION,
+ NOK_VARIABLE
};
struct ast_node {