Merge branch 'PHP-7.1'

* PHP-7.1:
  fix re2c version comparison
This commit is contained in:
Anatol Belski 2017-04-11 11:38:07 +02:00
commit be540347e2

View file

@ -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;