AST debug cleanup
- Add ArrayIterationStmt printer. - Mark ZCC_TreeNodes as const for the AST printers. - Use static_assert to catch missing printers without needing to run with -dumpast.
This commit is contained in:
parent
4103b282bb
commit
70df34674b
3 changed files with 98 additions and 82 deletions
|
|
@ -601,7 +601,7 @@ struct ZCC_MixinStmt : ZCC_Statement
|
|||
ENamedName MixinName;
|
||||
};
|
||||
|
||||
FString ZCC_PrintAST(ZCC_TreeNode *root);
|
||||
FString ZCC_PrintAST(const ZCC_TreeNode *root);
|
||||
|
||||
|
||||
struct ZCC_AST
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue