aboutsummaryrefslogtreecommitdiff
path: root/src/parse/text.c
diff options
context:
space:
mode:
authorBruce Hill <bruce@bruce-hill.com>2025-10-12 14:05:22 -0400
committerBruce Hill <bruce@bruce-hill.com>2025-10-12 14:05:22 -0400
commit3cd3b20f58e9d2c6463d503be09e5d4cfaadee6c (patch)
tree9b7120a4969a38793ecff3aab549b463c7dcf822 /src/parse/text.c
parentbd190ac0a84eefa3174c04ce1fe2059aed6f2d1b (diff)
Code cleanup and fixing minor issues
Diffstat (limited to 'src/parse/text.c')
-rw-r--r--src/parse/text.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/parse/text.c b/src/parse/text.c
index 6f032c4c..7650955c 100644
--- a/src/parse/text.c
+++ b/src/parse/text.c
@@ -116,7 +116,6 @@ static ast_list_t *_parse_text_helper(parse_ctx_t *ctx, const char **out_pos) {
if (chunk.length > 0) {
ast_t *literal = NewAST(ctx->file, chunk_start, pos, TextLiteral, .text = chunk);
chunks = new (ast_list_t, .ast = literal, .next = chunks);
- chunk = EMPTY_TEXT;
}
REVERSE_LIST(chunks);