mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-11-22 13:52:23 -08:00
metagen: simplify data tables
This commit is contained in:
1 parent
742d2387e2
commit
1d9dc2b9a9
12 files changed
+171
-235
No files matched your search
@@ -83,14 +83,12 @@ TG_KindTable:
|
||||
`LastIncomplete = TG_Kind_IncompleteEnum`,
|
||||
}
|
||||
|
||||
@table_gen_data(type:U8, fallback:0)
|
||||
tg_kind_basic_byte_size_table:
|
||||
@data(U8) tg_kind_basic_byte_size_table:
|
||||
{
|
||||
@expand(TG_KindTable a) `$(a.basic_byte_size),`;
|
||||
@expand(TG_KindTable a) `$(a.basic_byte_size)`;
|
||||
}
|
||||
|
||||
@table_gen_data(type:String8, fallback:`{0}`)
|
||||
tg_kind_basic_string_table:
|
||||
@data(String8) tg_kind_basic_string_table:
|
||||
{
|
||||
@expand(TG_KindTable a) `str8_lit_comp("$(a.basic_string)"),`;
|
||||
@expand(TG_KindTable a) `str8_lit_comp("$(a.basic_string)")`;
|
||||
}
|
||||
Reference in new issue
Block a user