fix missing increment in eval token chunk list -> token array

This commit is contained in:
Ryan Fleury
2025-06-06 09:53:44 -07:00
parent c282e7d4be
commit 60d88ac446
+1
View File
@@ -57,6 +57,7 @@ e_token_array_from_chunk_list(Arena *arena, E_TokenChunkList *list)
for(E_TokenChunkNode *node = list->first; node != 0; node = node->next)
{
MemoryCopy(array.v+idx, node->v, sizeof(E_Token)*node->count);
idx += node->count;
}
return array;
}