|  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #76030 RE2C_FLAGS rarely honoured
Submitted: 2018-02-28 18:49 UTC Modified: 2018-08-12 09:27 UTC
From: crrodriguez at opensuse dot org Assigned: petk (profile)
Status: Closed Package: *Compile Issues
PHP Version: master-Git-2018-02-28 (Git) OS: linux
Private report: No CVE-ID: None
 [2018-02-28 18:49 UTC] crrodriguez at opensuse dot org
--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.


usere2cflagseverywhere (last revision 2018-02-28 18:51 UTC by crrodriguez at opensuse dot org)

Add a Patch

Pull Requests

Add a Pull Request


AllCommentsChangesGit/SVN commitsRelated reports
 [2018-08-05 14:16 UTC]
Hello, pull request with above patch has been opened here:
 [2018-08-05 19:28 UTC]
-Assigned To: +Assigned To: petk
 [2018-08-12 09:16 UTC]
Automatic comment on behalf of
Log: Fix bug #76030 RE2C_FLAGS rarely honoured
 [2018-08-12 09:16 UTC]
-Status: Assigned +Status: Closed
 [2018-08-12 09:27 UTC]
-Type: Feature/Change Request +Type: Bug
PHP Copyright © 2001-2023 The PHP Group
All rights reserved.
Last updated: Tue Sep 26 03:01:25 2023 UTC