diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2024-02-11 15:22:32 -0500 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2024-02-11 15:22:32 -0500 |
| commit | 23898b76180b3bbcc7e482492f2af0c59e3efe12 (patch) | |
| tree | c11bb074860ef382c6500916b9181ac5fd2da082 /parse.c | |
| parent | c6e7f7259670e680fb9604e7642d317b1d263956 (diff) | |
Handle empty cords correctly
Diffstat (limited to 'parse.c')
| -rw-r--r-- | parse.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -910,7 +910,7 @@ PARSER(parse_string) { } ast_list_t *chunks = NULL; - CORD chunk = NULL; + CORD chunk = CORD_EMPTY; const char *chunk_start = pos; for (; pos < ctx->file->text + ctx->file->len && *pos != close_quote; ++pos) { if (*pos == start_interp) { |
