Array done

This commit is contained in:
2024-11-30 13:14:47 -05:00
parent 4137ebfbd8
commit 34eec66f35
3 changed files with 332 additions and 282 deletions

View File

@ -133,7 +133,7 @@ internal
void init()
{
Tokens = Array<Token>::init_reserve( LexArena
, ( LexAllocator_Size - sizeof( Array<Token>::Header ) ) / sizeof(Token)
, ( LexAllocator_Size - sizeof( ArrayHeader ) ) / sizeof(Token)
);
defines_map_arena = Arena_256KB::init();