mirror of
https://github.com/PluralKit/PluralKit.git
synced 2026-02-04 13:06:50 +00:00
refactor(command_parser): separate Token::Value field into name and aliases
This commit is contained in:
parent
ff6dc12cae
commit
35f7bdbaf5
2 changed files with 19 additions and 14 deletions
|
|
@ -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;
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue