mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-06-20 10:54:59 -07: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)
|
||||
{
|
||||
MemoryCopy(array.v+idx, node->v, sizeof(E_Token)*node->count);
|
||||
idx += node->count;
|
||||
}
|
||||
return array;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user