From d8b19d79638ab678e7e3f378b8ae80ad85cf7404 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Mika=C3=ABl=20Mayer?= <MikaelMayer@users.noreply.github.com> Date: Thu, 16 Jul 2020 14:51:43 -0500 Subject: [PATCH] Fixed rebuildParsers.php (#686) phpyacc is a sh file and should not be run via the php interpreter, but directly. --- grammar/rebuildParsers.php | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/grammar/rebuildParsers.php b/grammar/rebuildParsers.php index 66bf7055..338d455d 100644 --- a/grammar/rebuildParsers.php +++ b/grammar/rebuildParsers.php @@ -16,7 +16,7 @@ $tokensResultsFile = $resultDir . '/Tokens.php'; $kmyacc = getenv('KMYACC'); if (!$kmyacc) { // Use phpyacc from dev dependencies by default. - $kmyacc = PHP_BINARY . ' ' . __DIR__ . '/../vendor/bin/phpyacc'; + $kmyacc = __DIR__ . '/../vendor/bin/phpyacc'; } $options = array_flip($argv);