diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-03-06 18:37:08 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-03-06 18:37:08 -0500 |
| commit | 73e559fbe4182828742ac1b1d108bcdc42bc46d6 (patch) | |
| tree | 22c4d6245114cf3ba72701dafe18b84ce72e3f66 /ast.c | |
| parent | 09423f6d42d86c62beefa4607fba41e3698f1850 (diff) | |
Support 'when' for literal values with equality checking
Diffstat (limited to 'ast.c')
| -rw-r--r-- | ast.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -71,7 +71,7 @@ CORD arg_list_to_xml(arg_ast_t *args) { CORD when_clauses_to_xml(when_clause_t *clauses) { CORD c = CORD_EMPTY; for (; clauses; clauses = clauses->next) { - c = CORD_all(c, "<case tag=\"", ast_to_xml(clauses->tag_name), "\">", ast_list_to_xml(clauses->args), ast_to_xml(clauses->body), "</case>"); + c = CORD_all(c, "<case>", ast_to_xml(clauses->pattern), ast_to_xml(clauses->body), "</case>"); } return c; } |
