From de8699b2b31903de251b011cdf806f64c4c2f859 Mon Sep 17 00:00:00 2001 From: Jan Sorgalla Date: Tue, 5 Mar 2024 19:50:12 +0100 Subject: [PATCH] Fix method in function generation script --- tools/generate-functions.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tools/generate-functions.php b/tools/generate-functions.php index 7d533a7b..8821ad21 100644 --- a/tools/generate-functions.php +++ b/tools/generate-functions.php @@ -101,7 +101,7 @@ public function parse(Parser $parser): void $lexer = $parser->getLexer(); - if ($lexer->isNextTo(Lexer::T_COMMA)) { + if ($lexer->isNextToken(Lexer::T_COMMA)) { $parser->match(Lexer::T_COMMA); $this->expressions[] = $parser->ArithmeticFactor(); }