diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-09-04 13:48:26 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-09-04 13:48:26 -0400 |
| commit | d1b2e9f598fb8e4c0bb46fda3bc2b8e03ff1db55 (patch) | |
| tree | 59d0171be180af6350df93638c751431a0765a20 /ast.c | |
| parent | f605df823016b9de23325c0a9d950c542a4ba1d5 (diff) | |
Disallow 'use' statements that aren't top level
Diffstat (limited to 'ast.c')
| -rw-r--r-- | ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -152,7 +152,7 @@ CORD ast_to_xml(ast_t *ast) T(FieldAccess, "<FieldAccess field=\"%s\">%r</FieldAccess>", data.field, ast_to_xml(data.fielded)) T(Optional, "<Optional>%r</Optional>", 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.name)) + T(Use, "<Use>%r</Use>", xml_escape(data.path)) T(LinkerDirective, "<LinkerDirective>%r</LinkerDirective>", xml_escape(data.directive)) T(InlineCCode, "<InlineCode>%r</InlineCode>", xml_escape(data.code)) #undef T |
