Req #76030 [Com]: RE2C_FLAGS rarely honoured
| From: | petk@php.net | Date: | Sun, 05 Aug 2018 14:16:35 +0000 |
| Subject: | Req #76030 [Com]: RE2C_FLAGS rarely honoured | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-216611@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=76030&edit=1
ID: 76030
Comment by: petk@php.net
Reported by: crrodriguez at opensuse dot org
Summary: RE2C_FLAGS rarely honoured
Status: Open
Type: Feature/Change Request
Package: *Compile Issues
Operating System: linux
PHP Version: master-Git-2018-02-28 (Git)
Block user comment: N
Private report: N
New Comment:
Hello, pull request with above patch has been opened here:
https://github.com/php/php-src/pull/3430
Previous Comments:
------------------------------------------------------------------------
[2018-02-28 18:49:15] crrodriguez at opensuse dot org
Description:
------------
--enable-re2c-cgoto sets RE2C_FLAGS to "-g" and that is supposed to be passed to all re2c
invocations, unfortunately it is only seldom used. the attached patch corrects the issue.
Test script:
---------------
.
Expected result:
----------------
RE2C_FLAGS honoured everywhere a lexer is generated
Actual result:
--------------
Only some lexers use it.
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=76030&edit=1