Parser - Fixed function call parsing
This commit is contained in:
parent
360ec57914
commit
5d1d3bd0a4
1 changed files with 1 additions and 1 deletions
|
@ -638,7 +638,7 @@ impl Parser {
|
|||
));
|
||||
}
|
||||
arguments.push(self.parse_expression()?);
|
||||
if self.expect(&[TokenType::Comma]).is_some() {
|
||||
if self.expect(&[TokenType::Comma]).is_none() {
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue