mirror of
https://github.com/Ed94/raddebugger.git
synced 2026-07-12 12:31:25 -07:00
metagen: simplify enum generation; reading/organization pass over raddbgi_from_pdb
This commit is contained in:
+3
-3
@@ -81,10 +81,10 @@ EVAL_ResultCodeTable:
|
||||
``;
|
||||
}
|
||||
|
||||
@table_gen_enum EVAL_ResultCode:
|
||||
@enum EVAL_ResultCode:
|
||||
{
|
||||
@expand(EVAL_ResultCodeTable a) `EVAL_ResultCode_$(a.name),`;
|
||||
EVAL_ResultCode_COUNT
|
||||
@expand(EVAL_ResultCodeTable a) `$(a.name)`,
|
||||
COUNT,
|
||||
}
|
||||
|
||||
@table_gen_data(type:U8, fallback:0)
|
||||
|
||||
@@ -19,7 +19,7 @@ EVAL_ResultCode_BadModuleBase,
|
||||
EVAL_ResultCode_BadTLSBase,
|
||||
EVAL_ResultCode_InsufficientStackSpace,
|
||||
EVAL_ResultCode_MalformedBytecode,
|
||||
EVAL_ResultCode_COUNT
|
||||
EVAL_ResultCode_COUNT,
|
||||
} EVAL_ResultCode;
|
||||
|
||||
typedef U32 EVAL_ExprKind;
|
||||
|
||||
Reference in New Issue
Block a user