From dee4e5dbf76bba893ba6903e958db9cfcbe0a949 Mon Sep 17 00:00:00 2001 From: Max Wash Date: Tue, 12 May 2026 22:45:43 +0100 Subject: [PATCH] parse: lex: fix arithmetic state handling dquote symbols incorrectly --- bshell/parse/lex/arithmetic.c | 2 ++ 1 file changed, 2 insertions(+) diff --git a/bshell/parse/lex/arithmetic.c b/bshell/parse/lex/arithmetic.c index dfc0fa7..be8c9f2 100644 --- a/bshell/parse/lex/arithmetic.c +++ b/bshell/parse/lex/arithmetic.c @@ -50,6 +50,8 @@ static enum bshell_status arithmetic_symbol(struct lex_ctx *ctx) struct lex_token *tok = NULL; switch (sym->id) { + case SYM_DQUOTE: + return BSHELL_SUCCESS; case SYM_SQUOTE: status = read_literal_string(ctx, &tok); if (status != BSHELL_SUCCESS) {