mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-25 07:12:20 -08:00
fix incorrect type info generation of schema'd evaluations
This commit is contained in:
1 parent
c938a6fcfa
commit
ac65d7fc34
2 files changed
+2
-2
No files matched your search
@@ -12285,12 +12285,12 @@ rd_frame(void)
|
|||||||
//- rjf: cache meta name -> type key correllation
|
//- rjf: cache meta name -> type key correllation
|
||||||
rd_state->meta_name2type_map = push_array(rd_frame_arena(), E_String2TypeKeyMap, 1);
|
rd_state->meta_name2type_map = push_array(rd_frame_arena(), E_String2TypeKeyMap, 1);
|
||||||
rd_state->meta_name2type_map[0] = e_string2typekey_map_make(rd_frame_arena(), 256);
|
rd_state->meta_name2type_map[0] = e_string2typekey_map_make(rd_frame_arena(), 256);
|
||||||
#if 0 // TODO(rjf): @eval
|
|
||||||
for EachElement(idx, rd_name_schema_info_table)
|
for EachElement(idx, rd_name_schema_info_table)
|
||||||
{
|
{
|
||||||
String8 name = rd_name_schema_info_table[idx].name;
|
String8 name = rd_name_schema_info_table[idx].name;
|
||||||
E_TypeKey type_key = e_type_key_cons(.name = name,
|
E_TypeKey type_key = e_type_key_cons(.name = name,
|
||||||
.kind = E_TypeKind_Set,
|
.kind = E_TypeKind_Set,
|
||||||
|
.irgen = E_TYPE_IRGEN_FUNCTION_NAME(schema),
|
||||||
.access = E_TYPE_ACCESS_FUNCTION_NAME(schema),
|
.access = E_TYPE_ACCESS_FUNCTION_NAME(schema),
|
||||||
.expand =
|
.expand =
|
||||||
{
|
{
|
||||||
@@ -12299,7 +12299,6 @@ rd_frame(void)
|
|||||||
});
|
});
|
||||||
e_string2typekey_map_insert(rd_frame_arena(), rd_state->meta_name2type_map, name, type_key);
|
e_string2typekey_map_insert(rd_frame_arena(), rd_state->meta_name2type_map, name, type_key);
|
||||||
}
|
}
|
||||||
#endif
|
|
||||||
|
|
||||||
//- rjf: add macros for evallable top-level config trees
|
//- rjf: add macros for evallable top-level config trees
|
||||||
String8 evallable_cfg_names[] =
|
String8 evallable_cfg_names[] =
|
||||||
|
|||||||
@@ -34,6 +34,7 @@ E_TYPE_EXPAND_RANGE_FUNCTION_DEF(registers);
|
|||||||
////////////////////////////////
|
////////////////////////////////
|
||||||
//~ rjf: Schema Type Hooks
|
//~ rjf: Schema Type Hooks
|
||||||
|
|
||||||
|
E_TYPE_IRGEN_FUNCTION_DEF(schema);
|
||||||
E_TYPE_ACCESS_FUNCTION_DEF(schema);
|
E_TYPE_ACCESS_FUNCTION_DEF(schema);
|
||||||
E_TYPE_EXPAND_INFO_FUNCTION_DEF(schema);
|
E_TYPE_EXPAND_INFO_FUNCTION_DEF(schema);
|
||||||
E_TYPE_EXPAND_RANGE_FUNCTION_DEF(schema);
|
E_TYPE_EXPAND_RANGE_FUNCTION_DEF(schema);
|
||||||
|
|||||||
Reference in new issue
Block a user