fixed comment
This commit is contained in:
parent
dddb3f2954
commit
7d6436bb97
1 changed files with 1 additions and 1 deletions
2
parser.c
2
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);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue