From d2f4d07585d1e915365f3aaea6fc696e00a9e26d Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 11 Aug 2024 15:04:22 -0400 Subject: Support channels with maximum size --- ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ast.c') diff --git a/ast.c b/ast.c index 000c5f18..d3b5b3c4 100644 --- a/ast.c +++ b/ast.c @@ -121,7 +121,7 @@ CORD ast_to_xml(ast_t *ast) optional_tagged_type("key-type", data.key_type), optional_tagged_type("value-type", data.value_type), ast_list_to_xml(data.entries), optional_tagged("fallback", data.fallback)) T(TableEntry, "%r%r", ast_to_xml(data.key), ast_to_xml(data.value)) - T(Channel, "%r", type_ast_to_xml(data.item_type)) + T(Channel, "%r%r", type_ast_to_xml(data.item_type), optional_tagged("max-size", data.max_size)) T(Comprehension, "%r%r%r%r%r", optional_tagged("expr", data.expr), ast_list_to_xml(data.vars), optional_tagged("iter", data.iter), optional_tagged("filter", data.filter)) -- cgit v1.2.3