diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-07-04 18:00:01 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-07-04 18:00:01 -0400 |
| commit | 6a105fbd801f10bd6c8cee32fd6d45a279f33e1b (patch) | |
| tree | dc03ec9eec0ac65b40d6cb6053d55475dc132fb2 /ast.c | |
| parent | 78960b1461a8fb184de4ffddf2d2ec4df729fb05 (diff) | |
Add 'defer'
Diffstat (limited to 'ast.c')
| -rw-r--r-- | ast.c | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -139,6 +139,7 @@ CORD ast_to_xml(ast_t *ast) T(Stop, "<Stop>%r</Stop>", data.target) T(PrintStatement, "<PrintStatement>%r</PrintStatement>", ast_list_to_xml(data.to_print)) T(Pass, "<Pass/>") + T(Defer, "<Defer>%r<Defer/>", ast_to_xml(data.body)) T(Return, "<Return>%r</Return>", ast_to_xml(data.value)) T(Extern, "<Extern name=\"%s\">%r</Extern>", data.name, type_ast_to_xml(data.type)) T(StructDef, "<StructDef name=\"%s\">%r<namespace>%r</namespace></StructDef>", data.name, arg_list_to_xml(data.fields), ast_to_xml(data.namespace)) |
