Skip to content

Conversation

petk
Copy link
Member

@petk petk commented Aug 5, 2018

Since PHP 5.3 the default lexer generator is RE2C. On Unix-alike build systems there is also optional configure option --enable-re2c-cgoto which enables optimized conditional jumps using non-standard computed goto extension. It is available since R2C 0.10.3 so it's well covered by RE2C versions PHP uses. This patch syncs usage of -g option across the PHP Unix-alike build system.

Patch is added thanks to @crrodriguez reported at #76030.

Since the generated files are added in the Git repository and also shipped with PHP releases, maybe it's still useful for the PHP 7.3 branch...

Note, that other syncs for the RE2C flags will be done in a separate patch for the master branch.

Thanks...

Since PHP 5.3 the default lexer generator is RE2C. On Unix-alike build
systems there is also optional configure option --enable-re2c-cgoto
which enables optimized conditional jumps using non-standard computed
goto extension. It is available since RE2C 0.10.3 so it's well covered
by RE2C versions PHP uses. This patch syncs usage of -g option accross
the PHP Unix-alike build system.
@petk petk changed the base branch from master to PHP-7.3 August 5, 2018 14:15
@php-pulls
Copy link

Comment on behalf of petk at php.net:

Applied via e0fe667

@php-pulls php-pulls closed this Aug 12, 2018
@petk petk deleted the patch-76030 branch August 12, 2018 09:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants