Skip to content

Commit

Permalink
Merge pull request #22 from FrankReh/fix-multiple-args
Browse files Browse the repository at this point in the history
fix parsing multiple arg tokens
  • Loading branch information
rylev authored Apr 29, 2024
2 parents 744ed57 + 9900b0d commit 5c461b3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/command/parser.rs
Original file line number Diff line number Diff line change
Expand Up @@ -235,6 +235,7 @@ impl<'a> FunctionCall<'a> {
if input.front().map(|t| t.token()) != Some(TokenKind::Comma) {
break;
}
input.pop_front();
}
expect_token(input, |t| t == TokenKind::ClosedParen)?;
Ok(Some(FunctionCall {
Expand Down

0 comments on commit 5c461b3

Please sign in to comment.