This commit is contained in:
2026-06-06 23:55:02 +02:00
parent 670596e1ff
commit a727a52ffb
8 changed files with 77 additions and 72 deletions

View File

@@ -583,6 +583,10 @@ impl Parser {
let mut expr = self.primary()?;
loop {
if self.peek().loc.line != self.previous().loc.line {
break;
}
if self.match_token(&[TokenType::LeftParen]) {
let mut args = vec![];
if !self.check(&TokenType::RightParen) {