fix(parser): initialization is not heap buffer overflowing anymore

This commit is contained in:
Matteo Flebus 2026-01-27 19:10:32 +01:00
parent 13018e0a03
commit 9ea979b303

View file

@ -52,7 +52,6 @@ static bool add_first(enum rule rule, enum token_type token)
} }
// Fill // Fill
item->list_length++;
item->tokens[item->list_length - 1] = token; item->tokens[item->list_length - 1] = token;
return true; return true;