aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2024-03-26 13:46:59 -0400
committerBruce Hill <bruce@bruce-hill.com>2024-03-26 13:46:59 -0400
commit59b62035c1304b4c6c39b6d546b9c5187e8d0738 (patch)
tree28de93ed67ce4270ee913b128ec96e57e0206a92
parentb3273387722601ba111d410f5b518f71cbf488da (diff)
Fix xml for Stop
-rw-r--r--ast.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ast.c b/ast.c
index 029b1ba4..316bb958 100644
--- a/ast.c
+++ b/ast.c
@@ -130,7 +130,7 @@ CORD ast_to_xml(ast_t *ast)
T(Reduction, "<Reduction>%r%r%r</Reduction>", optional_tagged("iterable", data.iter),
optional_tagged("combination", data.combination), optional_tagged("fallback", data.fallback))
T(Skip, "<Skip>%r</Skip>", data.target)
- T(Stop, "<Stop>%s</Stop>", data.target)
+ T(Stop, "<Stop>%r</Stop>", data.target)
T(Pass, "<Pass/>")
T(Return, "<Return>%r</Return>", ast_to_xml(data.value))
T(Extern, "<Extern name=\"%s\">%r</Extern>", data.name, type_ast_to_xml(data.type))