diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-08-11 15:04:22 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-08-11 15:04:22 -0400 |
| commit | d2f4d07585d1e915365f3aaea6fc696e00a9e26d (patch) | |
| tree | 12cf2a0f978835bc55db572df8e0d114c9b89494 /ast.c | |
| parent | 2ecb5fe885042ca6c25ee0a3e3da070ddec9e07e (diff) | |
Support channels with maximum size
Diffstat (limited to 'ast.c')
| -rw-r--r-- | ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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, "<TableEntry>%r%r</TableEntry>", ast_to_xml(data.key), ast_to_xml(data.value)) - T(Channel, "<Channel>%r</Channel>", type_ast_to_xml(data.item_type)) + T(Channel, "<Channel>%r%r</Channel>", type_ast_to_xml(data.item_type), optional_tagged("max-size", data.max_size)) T(Comprehension, "<Comprehension>%r%r%r%r%r</Comprehension>", optional_tagged("expr", data.expr), ast_list_to_xml(data.vars), optional_tagged("iter", data.iter), optional_tagged("filter", data.filter)) |
