Skip to content

Commit df853cb

Browse files
committed
Bump minimum re2c version requirement to 1.0.3
The release VMs already enforced this, but PHP's configure script did not. re2c 0.13.5, which timelib's date/time parser requires is no longer compatible with the current version of Zend/zend_language_scanner.l, as it starts spinning in a loop.
1 parent 00ae200 commit df853cb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

build/php.m4

+1-1
Original file line numberDiff line numberDiff line change
@@ -1870,7 +1870,7 @@ AC_DEFUN([PHP_PROG_RE2C],[
18701870
if test "$php_re2c_check" != "invalid"; then
18711871
AC_MSG_RESULT([$php_re2c_version (ok)])
18721872
else
1873-
AC_MSG_RESULT([$php_re2c_version])
1873+
AC_MSG_RESULT([$php_re2c_version (too old)])
18741874
fi
18751875
fi
18761876

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -164,7 +164,7 @@ PHP_RUNPATH_SWITCH
164164
dnl Checks for some support/generator progs.
165165
PHP_PROG_AWK
166166
PHP_PROG_BISON([3.0.0])
167-
PHP_PROG_RE2C([0.13.4])
167+
PHP_PROG_RE2C([1.0.3])
168168
PHP_PROG_PHP()
169169

170170
PHP_ARG_ENABLE([re2c-cgoto],

0 commit comments

Comments
 (0)