Minor refactor, added optional recursive dups for ast, ...

- Added support for anonymous structs.
- Gave Token_Fmt::token_map its own static memory.
- Minor natvis fix for CodeBody
- Renamed ESpecifier::Static_Member to just Static (acts as a general use case) specifier option
- Setup the lex token array with a configurable arena allocator.

Two major things left before V0.3-4:
- Attribute and Module parisng support with base case test
- AST serializtaion strings get a dedicated slag allocator.
This commit is contained in:
2023-07-16 02:26:55 -04:00
parent 79c3459f08
commit 1f77e39694
14 changed files with 331 additions and 89 deletions

View File

@ -15,7 +15,6 @@ using namespace gen;
int gen_main()
{
Memory::setup();
gen::init();
gen_sanity_upfront();
@ -35,7 +34,6 @@ int gen_main()
gen_ring_file();
gen::deinit();
Memory::cleanup();
return 0;
}
#endif