pgsql: Use "%option prefix" to set API names in ecpg's lexer.

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Use "%option prefix" to set API names in ecpg's lexer.
Date: 2016-12-11 23:04:49
Message-ID: E1cGDAn-00042A-J4@gemulon.postgresql.org
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Use "%option prefix" to set API names in ecpg's lexer.

Back-patch commit 92fb64983 into the pre-9.6 branches.

Without this, ecpg fails to build with the latest version of flex.
It's not unreasonable that people would want to compile our old branches
with recent tools. Per report from Дилян Палаузов.

Discussion: https://postgr.es/m/d845c1af-e18d-6651-178f-9f08cdf37e10@aegee.org

Branch
------
REL9_2_STABLE

Details
-------
http://git.postgresql.org/pg/commitdiff/2d48131ed1442f87e196dfe99e4904a69f1daed3

Modified Files
--------------
src/interfaces/ecpg/preproc/descriptor.c | 31 ++++++++-------
src/interfaces/ecpg/preproc/ecpg.addons | 30 +++++++-------
src/interfaces/ecpg/preproc/ecpg.c | 40 +++++++++----------
src/interfaces/ecpg/preproc/ecpg.header | 12 +++---
src/interfaces/ecpg/preproc/ecpg.trailer | 18 ++++-----
src/interfaces/ecpg/preproc/extern.h | 10 ++---
src/interfaces/ecpg/preproc/output.c | 66 +++++++++++++++----------------
src/interfaces/ecpg/preproc/pgc.l | 68 ++++++++++++++------------------
src/interfaces/ecpg/preproc/variable.c | 2 +-
9 files changed, 136 insertions(+), 141 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Amit Langote 2016-12-12 05:06:45 Re: [COMMITTERS] pgsql: Implement table partitioning.
Previous Message Tom Lane 2016-12-11 19:54:40 pgsql: Use "%option prefix" to set API names in ecpg's lexer.