aboutsummaryrefslogtreecommitdiff
path: root/ast.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-10-12 13:29:23 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-10-12 13:29:23 -0400
commit55afc5a5fd93f4e45aeab7f08ed8faee86377d12 (patch)
tree9387c550f0e6f5748c77376656c53abdf579e2c1 /ast.c
parenta92021f40b2489e0a6d915f02b6d6ad912fd3d77 (diff)
Further progress and bugfixes
Diffstat (limited to 'ast.c')
-rw-r--r--ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ast.c b/ast.c
index 2d6b3bc7..170fd12a 100644
--- a/ast.c
+++ b/ast.c
@@ -104,7 +104,7 @@ Text_t _optional_tagged(const char *tag, ast_t *ast)
Text_t _optional_tagged_type(const char *tag, type_ast_t *ast)
{
- return ast ? Text$format("<%s>%k</%s>", tag, stack(type_ast_to_xml(ast)), tag) : Text("");
+ return ast ? Text$format("<%s>%k</%s>", tag, type_ast_to_xml_ptr(ast), tag) : Text("");
}
Text_t ast_to_xml(ast_t *ast)