refactor(command_parser): separate Token::Value field into name and aliases

This commit is contained in:
dusk 2025-01-22 02:12:17 +09:00
parent ff6dc12cae
commit 35f7bdbaf5
No known key found for this signature in database
2 changed files with 19 additions and 14 deletions

View file

@ -30,7 +30,7 @@ impl Command {
parse_flags_before = idx;
was_parameter = true;
}
Token::Empty | Token::Value(_) => {
Token::Empty | Token::Value { .. } => {
if was_parameter {
break;
}