array.Parsed.hpp passed test!

This commit is contained in:
2023-07-11 01:09:50 -04:00
parent 1fb3db379c
commit ddb3244467
9 changed files with 123 additions and 351 deletions

View File

@@ -330,7 +330,7 @@ u32 gen_array_file()
{
Builder
gen_array_file;
gen_array_file.open( "array.gen.hpp" );
gen_array_file.open( "array.NonParsed.gen.hpp" );
Code include_zpl = def_include( StrC::from("Bloat.hpp") );
gen_array_file.print( include_zpl );

View File

@@ -235,7 +235,7 @@ u32 gen_buffer_file()
{
Builder
gen_buffer_file;
gen_buffer_file.open( "buffer.gen.hpp" );
gen_buffer_file.open( "buffer.NonParsed.gen.hpp" );
gen_buffer_file.print( def_include( StrC::from("Bloat.hpp")) );
gen_buffer_file.print( gen__buffer_base() );

View File

@@ -431,7 +431,7 @@ u32 gen_hashtable_file()
{
Builder
gen_buffer_file;
gen_buffer_file.open( "hashtable.gen.hpp" );
gen_buffer_file.open( "hashtable.NonParsed.gen.hpp" );
gen_buffer_file.print( def_include( StrC::from("Bloat.hpp")) );
gen_buffer_file.print( def_include( StrC::from("Array.NonParsed.hpp")) );

View File

@@ -194,7 +194,7 @@ u32 gen_ring_file()
{
Builder
gen_ring_file;
gen_ring_file.open( "ring.gen.hpp" );
gen_ring_file.open( "ring.NonParsed.gen.hpp" );
gen_ring_file.print( def_include( StrC::from("Bloat.hpp")) );
gen_ring_file.print( def_include( StrC::from("buffer.gen.hpp")) );

View File

@@ -39,7 +39,7 @@ Code gen__array( StrC type, sw type_size )
using Header = ArrayHeader;
using Type = <type>;
constexpr auto grow_formula = &array_glow_formula;
static constexpr auto grow_formula = &array_grow_formula;
static
<ArrayType> init( AllocatorInfo allocator )
@@ -211,8 +211,8 @@ Code gen__array( StrC type, sw type_size )
),
// Tokens
2
, "ArrayType", name
, "type", type
, "ArrayType", (char const*) name
, "type", (char const*) type
));
return array;
@@ -254,7 +254,7 @@ u32 gen_array_file()
{
Builder
gen_array_file;
gen_array_file.open( "array.gen.hpp" );
gen_array_file.open( "array.Parsed.gen.hpp" );
Code include_zpl = def_include( StrC::from("Bloat.hpp") );
gen_array_file.print( include_zpl );

View File

@@ -17,7 +17,7 @@ int gen_main()
Memory::setup();
gen::init();
gen_sanity();
// gen_sanity();
gen_array( u8 );
// gen_array( sw );