From 6a105fbd801f10bd6c8cee32fd6d45a279f33e1b Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Thu, 4 Jul 2024 18:00:01 -0400 Subject: Add 'defer' --- ast.c | 1 + 1 file changed, 1 insertion(+) (limited to 'ast.c') diff --git a/ast.c b/ast.c index 4971b841..3beff6b1 100644 --- a/ast.c +++ b/ast.c @@ -139,6 +139,7 @@ CORD ast_to_xml(ast_t *ast) T(Stop, "%r", data.target) T(PrintStatement, "%r", ast_list_to_xml(data.to_print)) T(Pass, "") + T(Defer, "%r", ast_to_xml(data.body)) T(Return, "%r", ast_to_xml(data.value)) T(Extern, "%r", data.name, type_ast_to_xml(data.type)) T(StructDef, "%r%r", data.name, arg_list_to_xml(data.fields), ast_to_xml(data.namespace)) -- cgit v1.2.3