command_parser: fix non-optional whitespace after report
This commit is contained in:
parent
db1788bafb
commit
4e5de7831b
@ -126,11 +126,8 @@ fn off_on(input: &[u8]) -> IResult<&[u8], bool> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
fn report(input: &[u8]) -> IResult<&[u8], Command> {
|
fn report(input: &[u8]) -> IResult<&[u8], Command> {
|
||||||
preceded(
|
|
||||||
preceded(
|
preceded(
|
||||||
tag("report"),
|
tag("report"),
|
||||||
whitespace
|
|
||||||
),
|
|
||||||
alt((
|
alt((
|
||||||
preceded(
|
preceded(
|
||||||
whitespace,
|
whitespace,
|
||||||
|
Loading…
Reference in New Issue
Block a user