parse: lex: fix arithmetic state handling dquote symbols incorrectly

This commit is contained in:
2026-05-12 22:45:43 +01:00
parent 39125cea50
commit dee4e5dbf7
+2
View File
@@ -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) {