mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-16 19:20:13 -08:00
fix missing increment in eval token chunk list -> token array
This commit is contained in:
1 parent
c282e7d4be
commit
60d88ac446
1 file changed
+1
@@ -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