aboutsummaryrefslogtreecommitdiff
path: root/compile.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-03-01 16:53:58 -0500
committerBruce Hill <bruce@bruce-hill.com>2025-03-01 16:53:58 -0500
commit37e96dbda5ee7b599c3659008c94907fdc8425a2 (patch)
tree6e1086a00789071583f1df4dc9e10baacf52334d /compile.c
parentb0483e842973575a51bb3672acf5182ccd212763 (diff)
Change `lang.text_content` to `lang.text`
Diffstat (limited to 'compile.c')
-rw-r--r--compile.c2
1 files changed, 1 insertions, 1 deletions
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")) {