mirror of
https://github.com/php/php-src.git
synced 2026-04-20 14:31:06 +02:00
Merge branch 'PHP-7.1'
* PHP-7.1: fix re2c version comparison
This commit is contained in:
@@ -2890,6 +2890,10 @@ function toolset_setup_project_tools()
|
||||
RE2CVERS = probe_binary(RE2C, "version");
|
||||
STDOUT.WriteLine(' Detected re2c version ' + RE2CVERS);
|
||||
|
||||
if (RE2CVERS.match(/^\d+.\d+$/)) {
|
||||
RE2CVERS += ".0";
|
||||
}
|
||||
|
||||
intvers = RE2CVERS.replace(pattern, '') - 0;
|
||||
intmin = MINRE2C.replace(pattern, '') - 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user