parse: lex: fix arithmetic state handling dquote symbols incorrectly
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user