Updated generated ast_inlines.hpp so that operator defs have the inline explicit

* Added support for parsing/serializing specifiers for OpCast roughtly.. Doesn't have constraints on what specifiers beyond whats expected in global nspace scope..
* Minor adjustments to hashtable to avoid UE compile errors
* Make sure scanner.cpp is being made by bootstrap
This commit is contained in:
2024-10-25 04:08:20 -04:00
parent 0542204b35
commit 33f992ef56
8 changed files with 136 additions and 125 deletions

View File

@ -399,7 +399,7 @@ struct HashTable
sw last_added_index;
HashTable<Type> new_ht = init_reserve( Hashes.get_header()->Allocator, new_num );
for ( sw idx = 0; idx < Entries.num(); ++idx )
for ( sw idx = 0; idx < sw(Entries.num()); ++idx )
{
FindResult find_result;
@ -424,13 +424,13 @@ struct HashTable
{
sw idx;
for ( idx = 0; idx < Entries.num(); idx++ )
for ( idx = 0; idx < sw(Entries.num()); idx++ )
Entries[ idx ].Next = -1;
for ( idx = 0; idx < Hashes.num(); idx++ )
for ( idx = 0; idx < sw(Hashes.num()); idx++ )
Hashes[ idx ] = -1;
for ( idx = 0; idx < Entries.num(); idx++ )
for ( idx = 0; idx < sw(Entries.num()); idx++ )
{
Entry* entry;
FindResult find_result;
@ -496,7 +496,7 @@ struct HashTable
sw slot( u64 key )
{
for ( sw idx = 0; idx < Hashes.num(); ++idx )
for ( sw idx = 0; idx < sw(Hashes.num()); ++idx )
if ( Hashes[ idx ] == key )
return idx;