fix: skip comments after comma in args list

This commit is contained in:
Ryan Chandler 2022-12-10 11:42:52 +00:00
parent ef87f4dd4e
commit fdc239e4c5
No known key found for this signature in database
GPG Key ID: F113BCADDB3B0CCA

View File

@ -284,6 +284,7 @@ pub fn args_list(state: &mut State) -> ParseResult<Vec<Arg>> {
if state.current.kind == TokenKind::Comma {
state.next();
state.skip_comments();
} else {
break;
}