mirror of
https://github.com/php/php-src.git
synced 2026-03-24 08:12:21 +01:00
Use absolute paths in tokenizer_data_gen.php
To make it work with out-of-tree builds.
This commit is contained in:
@@ -1,7 +1,8 @@
|
||||
<?php
|
||||
|
||||
$infile = 'Zend/zend_language_parser.h';
|
||||
$outfile = 'ext/tokenizer/tokenizer_data.c';
|
||||
$rootDir = __DIR__ . '/../..';
|
||||
$infile = $rootDir . '/Zend/zend_language_parser.h';
|
||||
$outfile = $rootDir . '/ext/tokenizer/tokenizer_data.c';
|
||||
|
||||
if (!file_exists($infile)) {
|
||||
fwrite(STDERR, <<<ERROR
|
||||
|
||||
Reference in New Issue
Block a user