Req #76030 [Asn->Csd]: RE2C_FLAGS rarely honoured
| From: | petk@php.net | Date: | Sun, 12 Aug 2018 09:16:51 +0000 |
| Subject: | Req #76030 [Asn->Csd]: RE2C_FLAGS rarely honoured | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-216729@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
Updated by: petk@php.net
Reported by: crrodriguez at opensuse dot org
Summary: RE2C_FLAGS rarely honoured
-Status: Assigned
+Status: Closed
Type: Feature/Change Request
Package: *Compile Issues
Operating System: linux
PHP Version: master-Git-2018-02-28 (Git)
Assigned To: petk
Block user comment: N
Private report: N
New Comment:
Automatic comment on behalf of crrodriguez@opensuse.org
Revision: http://git.php.net/?p=php-src.git;a=commit;h=e0fe667421bfd49d25f0052d873cef7c344ebb74
Log: Fix bug #76030 RE2C_FLAGS rarely honoured
Previous Comments:
------------------------------------------------------------------------
[2018-08-05 14:16:35] petk@php.net
Hello, pull request with above patch has been opened here:
https://github.com/php/php-src/pull/3430
------------------------------------------------------------------------
[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