diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-27 14:56:24 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-27 14:56:24 -0400 |
| commit | ca93e6f3cb78f65f8eb8aac0d6fae81be2c250e8 (patch) | |
| tree | 426245f7e01d666cdcbdbc4c42766db9d1dcc95d /ast.c | |
| parent | 9b15799e73b2d8342b815de1715c85c3a1bc27d7 (diff) | |
Simplify code by making `name := use ...` a Use AST instead of a Declare
Diffstat (limited to 'ast.c')
| -rw-r--r-- | ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -156,7 +156,7 @@ CORD ast_to_xml(ast_t *ast) T(Optional, "<Optional>%r</Optional>", ast_to_xml(data.value)) T(NonOptional, "<NonOptional>%r</NonOptional>", ast_to_xml(data.value)) T(DocTest, "<DocTest>%r<output>%r</output></DocTest>", optional_tagged("expression", data.expr), xml_escape(data.output)) - T(Use, "<Use>%r</Use>", xml_escape(data.path)) + T(Use, "<Use>%r%r</Use>", optional_tagged("var", data.var), xml_escape(data.path)) T(InlineCCode, "<InlineCode>%r</InlineCode>", xml_escape(data.code)) default: return "???"; #undef T |
