mirror of
https://github.com/fish-shell/fish-shell.git
synced 2025-02-01 00:16:33 +08:00
Clean up the last token when receiving TOK_END
This commit is contained in:
parent
39fe9fcfcd
commit
d458a8a03d
|
@ -640,6 +640,7 @@ void tok_next(tokenizer_t *tok)
|
|||
tok->buff++;
|
||||
}
|
||||
}
|
||||
tok->last_token.clear();
|
||||
break;
|
||||
case L'&':
|
||||
tok->last_type = TOK_BACKGROUND;
|
||||
|
|
Loading…
Reference in New Issue
Block a user