From 37e96dbda5ee7b599c3659008c94907fdc8425a2 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 1 Mar 2025 16:53:58 -0500 Subject: Change `lang.text_content` to `lang.text` --- compile.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'compile.c') diff --git a/compile.c b/compile.c index 7331483b..ddba6774 100644 --- a/compile.c +++ b/compile.c @@ -3722,7 +3722,7 @@ CORD compile(env_t *env, ast_t *ast) } case TextType: { const char *lang = Match(value_t, TextType)->lang; - if (lang && streq(f->field, "text_content")) { + if (lang && streq(f->field, "text")) { CORD text = compile_to_pointer_depth(env, f->fielded, 0, false); return CORD_all("((Text_t)", text, ")"); } else if (streq(f->field, "length")) { -- cgit v1.2.3