diff options
| author | Bruce Hill <bruce@bruce-hill.com> | 2025-09-06 14:48:56 -0400 |
|---|---|---|
| committer | Bruce Hill <bruce@bruce-hill.com> | 2025-09-06 14:48:56 -0400 |
| commit | ca9eabb810af3aca14aad5c8e0266ddc9286dd99 (patch) | |
| tree | fe51905f8a3633c549adb7b11c2c05630ea62ab2 /src | |
| parent | a8316252db95e3d77f9f0e9beb89cfcb4573d5b1 (diff) | |
Merge fix
Diffstat (limited to 'src')
| -rw-r--r-- | src/parse/text.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/src/parse/text.c b/src/parse/text.c index 30ff8656..6f032c4c 100644 --- a/src/parse/text.c +++ b/src/parse/text.c @@ -158,9 +158,7 @@ ast_t *parse_inline_c(parse_ctx_t *ctx, const char *pos) { parser_err(ctx, pos, pos + 1, "This is not a valid string quotation character. Valid characters are: \"'`|/;([{<"); - char quote = *(pos++); - char unquote = closing[(int)quote] ? closing[(int)quote] : quote; - ast_list_t *chunks = _parse_text_helper(ctx, &pos, quote, unquote, '@', false); + ast_list_t *chunks = _parse_text_helper(ctx, &pos); return NewAST(ctx->file, start, pos, InlineCCode, .chunks = chunks, .type_ast = type); } |
