mirror of
https://github.com/nikic/PHP-Parser.git
synced 2025-04-22 15:02:10 +02:00
Fixed rebuildParsers.php (#686)
phpyacc is a sh file and should not be run via the php interpreter, but directly.
This commit is contained in:
parent
69c5d48afd
commit
d8b19d7963
@ -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);
|
||||
|
Loading…
x
Reference in New Issue
Block a user