From ca9eabb810af3aca14aad5c8e0266ddc9286dd99 Mon Sep 17 00:00:00 2001 From: Bruce Hill Date: Sat, 6 Sep 2025 14:48:56 -0400 Subject: Merge fix --- src/parse/text.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) (limited to 'src/parse') 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); } -- cgit v1.2.3