mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-10-14 21:09:41 -07:00
metagen: simplify metacode structs
This commit is contained in:
1 parent
ea840a71e8
commit
742d2387e2
6 files changed
+34
-46
No files matched your search
+3
-8
@@ -70,15 +70,10 @@ EVAL_ResultCodeTable:
|
||||
{ MalformedBytecode "Malformed bytecode." }
|
||||
}
|
||||
|
||||
@table_gen
|
||||
@enum(U32) EVAL_ExprKind:
|
||||
{
|
||||
`typedef U32 EVAL_ExprKind;`;
|
||||
`enum`;
|
||||
`{`;
|
||||
@expand(EVAL_ExprKindTable a) `EVAL_ExprKind_$(a.name),`;
|
||||
`EVAL_ExprKind_COUNT`;
|
||||
`};`;
|
||||
``;
|
||||
@expand(EVAL_ExprKindTable a) `$(a.name)`,
|
||||
COUNT,
|
||||
}
|
||||
|
||||
@enum EVAL_ResultCode:
|
||||
|
||||
Reference in new issue
Block a user