From 7d6436bb97a20a81d85d733972f0a0092093ef53 Mon Sep 17 00:00:00 2001 From: Lorenzo Torres Date: Wed, 3 Dec 2025 13:39:04 +0100 Subject: [PATCH] fixed comment --- parser.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/parser.c b/parser.c index ffb2062..8aba74f 100644 --- a/parser.c +++ b/parser.c @@ -975,7 +975,7 @@ static ast_node *parse_statement(parser *p) } else if (match_peek(p, TOKEN_IDENTIFIER) && p->tokens->next && p->tokens->next->type == TOKEN_EQ) { - /* Variable declaration. */ + /* Variable assignment. */ ast_node *node = arena_alloc(p->allocator, sizeof(ast_node)); node->type = NODE_BINARY; node->expr.binary.left = parse_factor(p);