mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-08-06 13:58:40 +00:00
fix missing increment in eval token chunk list -> token array
This commit is contained in:
@@ -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)
|
for(E_TokenChunkNode *node = list->first; node != 0; node = node->next)
|
||||||
{
|
{
|
||||||
MemoryCopy(array.v+idx, node->v, sizeof(E_Token)*node->count);
|
MemoryCopy(array.v+idx, node->v, sizeof(E_Token)*node->count);
|
||||||
|
idx += node->count;
|
||||||
}
|
}
|
||||||
return array;
|
return array;
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user