diff options
| -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); } |
