From d8afa73368cdff38125fa1f7d17ad5ce54c84def Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sun, 6 Apr 2025 21:43:19 -0400 Subject: Improved inline C code: now uses `C_code` keyword and supports interpolation with @ --- src/ast.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/ast.c') diff --git a/src/ast.c b/src/ast.c index d4fd9569..b3506058 100644 --- a/src/ast.c +++ b/src/ast.c @@ -190,7 +190,7 @@ CORD ast_to_xml(ast_t *ast) T(NonOptional, "%r", ast_to_xml(data.value)) T(DocTest, "%r%r", optional_tagged("expression", data.expr), optional_tagged("expected", data.expected)) T(Use, "%r%r", optional_tagged("var", data.var), xml_escape(data.path)) - T(InlineCCode, "%r", xml_escape(data.code)) + T(InlineCCode, "%r", ast_list_to_xml(data.chunks)) T(Deserialize, "%r%r", type_ast_to_xml(data.type), ast_to_xml(data.value)) T(Extend, "%r", data.name, ast_to_xml(data.body)) T(ExplicitlyTyped, "%r", type_to_cord(data.type), ast_to_xml(data.ast)) -- cgit v1.2.3