Fixed regression with non-parsed code due to new global allocator setup

This commit is contained in:
ed committed 2023-07-10 22:56:59 -04:00
1 parent 1c5881c5a3
commit 1fb3db379c
5 files changed
+286 -13

No files matched your search

+5 -8
View File
@@ -202,6 +202,11 @@ Code gen__array( StrC type, sw type_size )
}
Type* Data;
operator Type*()
{
return Data;
}
};
),
// Tokens
@@ -210,14 +215,6 @@ Code gen__array( StrC type, sw type_size )
, "type", type
));
Code op_ptr = untyped_str( code(
operator Type*()
{
return Data;
}
));
array.body()->add_entry( op_ptr );
return array;
}