Rework of project implementation

For include and multi-file support. I still need to debug it,
Test will be adjusted as well; I want to get all the files not just zpl refactored using a powershell script.

I dropped the idea of semantically identifiying macros. While it may be possible, I don't see the utility vs the regular idendentifier distinction.
I want to keep the refactoring as simple as possible, where it just takes one pass to go through a file without any context to other files.

So far the ignores behave as a good guard filter for unwanted refactors and the only true weak area was the includes (which should be aleviated with the coming support for it.
This commit is contained in:
2023-03-17 02:09:19 -04:00
parent d44f7ed6fa
commit 231c893c6b
11 changed files with 1074 additions and 587 deletions

View File

@ -85,7 +85,7 @@ namespace Memory
void setup()
{
arena_init_from_allocator( & Global_Arena, heap(), megabytes(10) );
arena_init_from_allocator( & Global_Arena, heap(), megabytes(1) );
if ( Global_Arena.total_size == 0 )
{